timd/UIColor-HexValues

Shouldn't it be dividing by 255?

Opened this issue · 0 comments

float rRetVal = (float)rVal / 254;

Hi!

Why does this code divide by 254 instead of 255?

Thanks!