Color3.fromHSV is broken

yes.

image

Happens all the time, the color ranges are incorrect. trying to convert it back to HSV with Color3:ToHSV() results in this:

1 Like

It says that the color values must be at range [0, 1].
So probably:

You’ll have to divide each number by 255

there is literally the explanation of the error in the second screenshot

btw

HSV is not like RGB, because RGB use 0 to 255, HSV instead use 0 to 1

Color3.fromHSV(1,1,1) --is equal to Colo3.fromRGB(255,255,255)

…also, 359?

1 Like

You sure about that?

absolutely not, but i hope so

filler

No it is actually 255,0,0 in rgb.


I think he thinks the hue is an angle on a colour wheel.

okay this is weird, I thought it worked like in the color picker

H goes from 0 to 359
S from 0 to 255
and V from 0 to 255

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.