Gets the blue component of the current color.
The blue component (0-255).
Gets the current color value.
The color value (RGB or index).
Sets the color value.
The color value to set (RGB or index).
Gets the AutoCAD color index value. The index value will be in the range 0 to 256. 0 and 256 are special values.
The color index.
Sets the AutoCAD color index value. If value less than 0 is set, 0 will be used. If value greater than 256 is set, 256 will be used.
The color index to set (0-256).
Gets the name of the current color.
The color name.
Sets the color by name.
The color name to set.
Gets the CSS RGB color string representation.
The CSS RGB color string (e.g., "rgb(255,255,255)").
Gets the green component of the current color.
The green component (0-255).
Checks if the color has an index.
True if the color has no index, false otherwise.
Checks if the color has a name.
True if the color has no name, false otherwise.
Gets the hexadecimal representation of the current color.
The hexadecimal color string (e.g., "0xFFFFFF").
Checks if the color is set to "ByBlock".
True if the color is "ByBlock", false otherwise.
Checks if the color is set to "ByLayer".
True if the color is "ByLayer", false otherwise.
Gets the red component of the current color.
The red component (0-255).
Represents a color in AutoCAD, supporting various color formats.
AcCmColor
Version
1.0.0