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
Categories |
Miscellaneous
Heroes |
All
Maps |
Hanamura,
Horizon Lunar Colony,
Paris,
Temple of Anubis,
Volskaya Industries,
Dorado,
Havana,
Junkertown,
Rialto,
Route 66,
Watchpoint: Gibraltar,
Blizzard World,
Eichenwalde,
Hollywood,
King's Row,
Numbani,
Busan,
Ilios,
Lijiang Tower,
Nepal,
Oasis,
Black Forest,
Castillo,
Ecopoint: Antarctica,
Necropolis,
Estádio das Rãs,
Sydney Harbour Arena,
Sydney Harbour Arena Classic,
Busan Stadium,
Busan Stadium Classic,
Château Guillard,
Petra,
Ayutthaya,
Practice Range,
Workshop Chamber,
Workshop Island,
Workshop Expanse,
Workshop Green Screen
Created at |
Last updated |
Current version |
1.0.0
0 Comments