Sets or returns the color of an entity.
Colors can be set and read as numeric index values ranging from 0 to 256. For the standard seven colors and the ByBlock and ByLayer designations, you can also use constants shown below. The default color designation is ByLayer (0).
integerVariable = object.Color
object.Color = <integer>
integerVariable is a variable for storing the color index value.
object is the entity object for which you set or return the color.