Constructor that takes the red, green and blue channels of the color.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Color(
byte red,
byte green,
byte blue
)
Parameters
- red Byte
- The red channel of the color that ranges from 0 to 255.
- green Byte
- The green channel of the color that ranges from 0 to 255.
- blue Byte
- The blue channel of the color that ranges from 0 to 255.
See Also
Reference