Color Class


Represents a color in Autodesk Revit.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public class Color : APIObject
Visual Basic
Public Class Color _
	Inherits APIObject
Visual C++
public ref class Color : public APIObject

Remarks

Colors obtained from some API methods may represent an uninitialized/invalid color. You can identify these using the IsValid property.

Inheritance Hierarchy

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →