Database Color Value

If a color is not specified for an entity, the database's current color value, stored in the CECOLOR system variable, is used. The following functions set and retrieve the current color value in the database:

Acad::ErrorStatus 
AcDbDatabase::setCecolor(
    const AcCmColor& color);
 
AcCmColor AcDbDatabase::cecolor() const;