 | ColorUtilFromRGB255 Method |
Create a Color object from an RGB value where each component is expressed
as a float in the range 0-255.
Namespace: spaar.ModLoader.UIAssembly: SpaarModLoader (in SpaarModLoader.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static Color FromRGB255(
float r,
float g,
float b
)
Parameters
- r
- Type: SystemSingle
Red component - g
- Type: SystemSingle
Green component - b
- Type: SystemSingle
Blue component
Return Value
Type:
ColorConstructed color object
See Also