|
1 | | -###rbg2hsv() |
| 1 | +###rgb2hsv() |
2 | 2 |
|
3 | 3 | ###Example |
4 | 4 |
|
|
9 | 9 | <iframewidth="100%"height="450px"src="https://shaderpark.netlify.com/sculpture/-MJItwRqqccisWHIxdE4?example=true&embed=true"frameborder="0"></iframe> |
10 | 10 |
|
11 | 11 | ###Description |
12 | | -ConvertsRBG values into Hue, Saturation, Value(also called Brightness). |
| 12 | +ConvertsRGB values into Hue, Saturation, Value(also called Brightness). |
13 | 13 |
|
14 | 14 | ###Syntax |
15 | 15 | ```js |
16 | | -rbg2hsv(inputColor); |
| 16 | +rgb2hsv(inputColor); |
17 | 17 | ``` |
18 | 18 |
|
19 | 19 | ###Parameters |
20 | | -**inputColor** Vec3: input red, green, and blue color values from 0.0 to 1.0 |
| 20 | +**inputColor** Vec3: input red, green, and blue color values from 0.0 to 1.0 |