Workshop.codes
Create

This code is over 6 months old. The code may have expired and might no longer function.

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.

Categories: Miscellaneous
Heroes: D.va, Orisa, Reinhardt, Roadhog, Sigma, and 27 more...
Created at:
Last updated:
Current version: 1.0.0

Snippet

Loading...

Users Also Like

Similar Codes

Workshop.codes
Join the Workshop.codes Discord