Revit 2025 API
Color |
color
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ColorWithTransparency( uint red, uint green, uint blue, uint transparency )
Public Sub New ( red As UInteger, green As UInteger, blue As UInteger, transparency As UInteger )
public: ColorWithTransparency( unsigned int red, unsigned int green, unsigned int blue, unsigned int transparency )
new : red : uint32 * green : uint32 * blue : uint32 * transparency : uint32 -> ColorWithTransparency
Parameters

Exception | Condition |
---|---|
ArgumentOutOfRangeException | The value is not valid. The valid range is 0 to 255. |
See Also