Make_color_hsv - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
NOTOC {{-}}
Notation
Description
Returns a color based off the Hue, Saturation and Value arguments. Useful in functions like draw_set_color or draw__color
Parameters
- hue, the hue of the color, between 0 and 255
- saturation, the saturation of the color, between 0 and 255
- value, the intensity of the color, between 0 and 255
Return Values
Unknown.
Example Call
//Draws a line that goes from being black to a nice lime green.
draw_line_color(0, 0, 200, 200, make_color_hsv(50, 0, 0), make_color_hsv(50, 255, 255));
See also
-
Makes a color, but using Red, Green and Blue values instead.