Creates a new 24 bit color using 3x 8 bit components.
Converts from HSL to RGB
Blue value in range 0 - 255 as a ubyte.
Color as BGR hex.
Green value in range 0 - 255 as a ubyte.
Red value in range 0 - 255 as a ubyte.
Color as RGB hex.
RGB in range 0 - 1 as vec3
Blue value in range 0 - 1 as a float.
Green value in range 0 - 1 as a float.
Red value in range 0 - 1 as a float.
Creates an SDL_Color from this.
Creates a new 24 bit color.
Creates a new 24 bit color.
HTML color <span style='background-color: AliceBlue'>AliceBlue</span>
HTML color <span style='background-color: AntiqueWhite'>AntiqueWhite</span>
HTML color <span style='background-color: Aqua'>Aqua</span>
HTML color <span style='background-color: Aquamarine'>Aquamarine</span>
HTML color <span style='background-color: Azure'>Azure</span>
HTML color <span style='background-color: Beige'>Beige</span>
HTML color <span style='background-color: Bisque'>Bisque</span>
HTML color <span style='background-color: Black'>Black</span>
HTML color <span style='background-color: BlanchedAlmond'>BlanchedAlmond</span>
HTML color <span style='background-color: Blue'>Blue</span>
HTML color <span style='background-color: BlueViolet'>BlueViolet</span>
HTML color <span style='background-color: Brown'>Brown</span>
HTML color <span style='background-color: BurlyWood'>BurlyWood</span>
HTML color <span style='background-color: CadetBlue'>CadetBlue</span>
HTML color <span style='background-color: Chartreuse'>Chartreuse</span>
HTML color <span style='background-color: Chocolate'>Chocolate</span>
HTML color <span style='background-color: Coral'>Coral</span>
HTML color <span style='background-color: CornflowerBlue'>CornflowerBlue</span>
HTML color <span style='background-color: Cornsilk'>Cornsilk</span>
HTML color <span style='background-color: Crimson'>Crimson</span>
HTML color <span style='background-color: Cyan'>Cyan</span>
HTML color <span style='background-color: DarkBlue'>DarkBlue</span>
HTML color <span style='background-color: DarkCyan'>DarkCyan</span>
HTML color <span style='background-color: DarkGoldenRod'>DarkGoldenRod</span>
HTML color <span style='background-color: DarkGray'>DarkGray</span>
HTML color <span style='background-color: DarkGreen'>DarkGreen</span>
HTML color <span style='background-color: DarkKhaki'>DarkKhaki</span>
HTML color <span style='background-color: DarkMagenta'>DarkMagenta</span>
HTML color <span style='background-color: DarkOliveGreen'>DarkOliveGreen</span>
HTML color <span style='background-color: DarkOrange'>DarkOrange</span>
HTML color <span style='background-color: DarkOrchid'>DarkOrchid</span>
HTML color <span style='background-color: DarkRed'>DarkRed</span>
HTML color <span style='background-color: DarkSalmon'>DarkSalmon</span>
HTML color <span style='background-color: DarkSeaGreen'>DarkSeaGreen</span>
HTML color <span style='background-color: DarkSlateBlue'>DarkSlateBlue</span>
HTML color <span style='background-color: DarkSlateGray'>DarkSlateGray</span>
HTML color <span style='background-color: DarkTurquoise'>DarkTurquoise</span>
HTML color <span style='background-color: DarkViolet'>DarkViolet</span>
HTML color <span style='background-color: DeepPink'>DeepPink</span>
HTML color <span style='background-color: DeepSkyBlue'>DeepSkyBlue</span>
HTML color <span style='background-color: DimGray'>DimGray</span>
HTML color <span style='background-color: DodgerBlue'>DodgerBlue</span>
HTML color <span style='background-color: FireBrick'>FireBrick</span>
HTML color <span style='background-color: FloralWhite'>FloralWhite</span>
HTML color <span style='background-color: ForestGreen'>ForestGreen</span>
HTML color <span style='background-color: Fuchsia'>Fuchsia</span>
HTML color <span style='background-color: Gainsboro'>Gainsboro</span>
HTML color <span style='background-color: GhostWhite'>GhostWhite</span>
HTML color <span style='background-color: Gold'>Gold</span>
HTML color <span style='background-color: GoldenRod'>GoldenRod</span>
HTML color <span style='background-color: Gray'>Gray</span>
HTML color <span style='background-color: Green'>Green</span>
HTML color <span style='background-color: GreenYellow'>GreenYellow</span>
HTML color <span style='background-color: HoneyDew'>HoneyDew</span>
HTML color <span style='background-color: HotPink'>HotPink</span>
HTML color <span style='background-color: IndianRed'>IndianRed</span>
HTML color <span style='background-color: Indigo'>Indigo</span>
HTML color <span style='background-color: Ivory'>Ivory</span>
HTML color <span style='background-color: Khaki'>Khaki</span>
HTML color <span style='background-color: Lavender'>Lavender</span>
HTML color <span style='background-color: LavenderBlush'>LavenderBlush</span>
HTML color <span style='background-color: LawnGreen'>LawnGreen</span>
HTML color <span style='background-color: LemonChiffon'>LemonChiffon</span>
HTML color <span style='background-color: LightBlue'>LightBlue</span>
HTML color <span style='background-color: LightCoral'>LightCoral</span>
HTML color <span style='background-color: LightCyan'>LightCyan</span>
HTML color <span style='background-color: LightGoldenRodYellow'>LightGoldenRodYellow</span>
HTML color <span style='background-color: LightGray'>LightGray</span>
HTML color <span style='background-color: LightGreen'>LightGreen</span>
HTML color <span style='background-color: LightPink'>LightPink</span>
HTML color <span style='background-color: LightSalmon'>LightSalmon</span>
HTML color <span style='background-color: LightSeaGreen'>LightSeaGreen</span>
HTML color <span style='background-color: LightSkyBlue'>LightSkyBlue</span>
HTML color <span style='background-color: LightSlateGray'>LightSlateGray</span>
HTML color <span style='background-color: LightSteelBlue'>LightSteelBlue</span>
HTML color <span style='background-color: LightYellow'>LightYellow</span>
HTML color <span style='background-color: Lime'>Lime</span>
HTML color <span style='background-color: LimeGreen'>LimeGreen</span>
HTML color <span style='background-color: Linen'>Linen</span>
HTML color <span style='background-color: Magenta'>Magenta</span>
HTML color <span style='background-color: Maroon'>Maroon</span>
HTML color <span style='background-color: MediumAquaMarine'>MediumAquaMarine</span>
HTML color <span style='background-color: MediumBlue'>MediumBlue</span>
HTML color <span style='background-color: MediumOrchid'>MediumOrchid</span>
HTML color <span style='background-color: MediumPurple'>MediumPurple</span>
HTML color <span style='background-color: MediumSeaGreen'>MediumSeaGreen</span>
HTML color <span style='background-color: MediumSlateBlue'>MediumSlateBlue</span>
HTML color <span style='background-color: MediumSpringGreen'>MediumSpringGreen</span>
HTML color <span style='background-color: MediumTurquoise'>MediumTurquoise</span>
HTML color <span style='background-color: MediumVioletRed'>MediumVioletRed</span>
HTML color <span style='background-color: MidnightBlue'>MidnightBlue</span>
HTML color <span style='background-color: MintCream'>MintCream</span>
HTML color <span style='background-color: MistyRose'>MistyRose</span>
HTML color <span style='background-color: Moccasin'>Moccasin</span>
HTML color <span style='background-color: NavajoWhite'>NavajoWhite</span>
HTML color <span style='background-color: Navy'>Navy</span>
HTML color <span style='background-color: OldLace'>OldLace</span>
HTML color <span style='background-color: Olive'>Olive</span>
HTML color <span style='background-color: OliveDrab'>OliveDrab</span>
HTML color <span style='background-color: Orange'>Orange</span>
HTML color <span style='background-color: OrangeRed'>OrangeRed</span>
HTML color <span style='background-color: Orchid'>Orchid</span>
HTML color <span style='background-color: PaleGoldenRod'>PaleGoldenRod</span>
HTML color <span style='background-color: PaleGreen'>PaleGreen</span>
HTML color <span style='background-color: PaleTurquoise'>PaleTurquoise</span>
HTML color <span style='background-color: PaleVioletRed'>PaleVioletRed</span>
HTML color <span style='background-color: PapayaWhip'>PapayaWhip</span>
HTML color <span style='background-color: PeachPuff'>PeachPuff</span>
HTML color <span style='background-color: Peru'>Peru</span>
HTML color <span style='background-color: Pink'>Pink</span>
HTML color <span style='background-color: Plum'>Plum</span>
HTML color <span style='background-color: PowderBlue'>PowderBlue</span>
HTML color <span style='background-color: Purple'>Purple</span>
HTML color <span style='background-color: RebeccaPurple'>RebeccaPurple</span>
HTML color <span style='background-color: Red'>Red</span>
HTML color <span style='background-color: RosyBrown'>RosyBrown</span>
HTML color <span style='background-color: RoyalBlue'>RoyalBlue</span>
HTML color <span style='background-color: SaddleBrown'>SaddleBrown</span>
HTML color <span style='background-color: Salmon'>Salmon</span>
HTML color <span style='background-color: SandyBrown'>SandyBrown</span>
HTML color <span style='background-color: SeaGreen'>SeaGreen</span>
HTML color <span style='background-color: SeaShell'>SeaShell</span>
HTML color <span style='background-color: Sienna'>Sienna</span>
HTML color <span style='background-color: Silver'>Silver</span>
HTML color <span style='background-color: SkyBlue'>SkyBlue</span>
HTML color <span style='background-color: SlateBlue'>SlateBlue</span>
HTML color <span style='background-color: SlateGray'>SlateGray</span>
HTML color <span style='background-color: Snow'>Snow</span>
HTML color <span style='background-color: SpringGreen'>SpringGreen</span>
HTML color <span style='background-color: SteelBlue'>SteelBlue</span>
HTML color <span style='background-color: Tan'>Tan</span>
HTML color <span style='background-color: Teal'>Teal</span>
HTML color <span style='background-color: Thistle'>Thistle</span>
HTML color <span style='background-color: Tomato'>Tomato</span>
HTML color <span style='background-color: Turquoise'>Turquoise</span>
HTML color <span style='background-color: Violet'>Violet</span>
HTML color <span style='background-color: Wheat'>Wheat</span>
HTML color <span style='background-color: White'>White</span>
HTML color <span style='background-color: WhiteSmoke'>WhiteSmoke</span>
HTML color <span style='background-color: Yellow'>Yellow</span>
HTML color <span style='background-color: YellowGreen'>YellowGreen</span>
Color structure for Bitmaps and converting HSL -> RGB and Hex -> float[3]. Can be converted to a SDL_Color. Only contains RGB Colors.