Garry's Mod Wiki

HSLToColor

HSLToColor

  table HSLToColor( number hue, number saturation, number value )

Description

Converts a color from HSL color space into RGB color space and returns a Color.

The returned color will not have the color metatable.

Issue Tracker: 2407

Arguments

1 number hue
The hue in degrees from 0-360.
2 number saturation
The saturation from 0-1.
3 number value
The lightness from 0-1.

Returns

1 table
The Color created from the HSL color space.

Special Pages


Wikis

?

Render Time: 24ms

DB GetPage 2
Generate Html 6
SaveChanges (1) 7
Render Body 0
Render Sidebar 7