Color
Creates a Color instance from a raw raylib Color structure.
Parameters
The raw raylib Color structure.
Creates a Color instance from a raw raylib Color CValue.
Parameters
The raw raylib Color CValue.
Creates a Color instance from integer values for red, green, blue, and alpha components.
Parameters
The red component (0-255).
The green component (0-255).
The blue component (0-255).
The alpha component (0-255).
Creates a Color instance from a single integer representing an ARGB color.
Parameters
The ARGB color as an integer.
Creates a Color instance from a single long integer representing an ARGB color.
Parameters
The RGBA color as a long integer.
Creates a Color instance from a hexadecimal color string. The string should be in the format "#RRGGBB" or "#RRGGBBAA". The hashtag is required.
Parameters
The hexadecimal color string.
Creates a Color instance from HSV (Hue, Saturation, Value) components.
Parameters
The hue component (0-360).
The saturation component (0-1).
The value component (0-1).
Creates a Color instance from float values for red, green, blue, and alpha components. Each component should be in the range 0.0 to 1.0.
Parameters
The red component (0.0-1.0).
The green component (0.0-1.0).
The blue component (0.0-1.0).
The alpha component (0.0-1.0).
Creates a Color instance from double values for red, green, blue, and alpha components. Each component should be in the range 0.0 to 1.0.
Parameters
The red component (0.0-1.0).
The green component (0.0-1.0).
The blue component (0.0-1.0).
The alpha component (0.0-1.0).