Login
Create

HSV to RGB

1B0WJ

Small demo of a subroutine that can convert HSV to RGB values.

You can grab the subroutine alone in the code snippet below.

Usage:

Add a variable called RGB and HSV to your project.
Set your HSV variable to a fixed sized array of 3 like this: [140, 1, 0.5]

Here's what the values mean.
Hue° Satuation % Value%
0-360, 0-1.0, 0-1.0

Call the subroutine.
Extract your RGB values from the RGB variable. RGB[0] is red, RGB[1] is blue and RGB[2] is green.

Code Snippet

Loading...
Fullscreen
Copy to clipboard
Categories | Miscellaneous
Heroes | All
Maps | All
Created at |
Last updated |
Current version | 1.0.0

0 Comments

Log in or Sign up to place a comment.
Elo Hell Logo_H-M-Dark
Join the Elo Hell Workshops Discord
Workshop.codes - Background image