HSB vs HSL vs HSV

前端 未结 4 1256
轮回少年
轮回少年 2020-12-13 04:00

I am making a Color class as a part of a very basic graphics API in c++. So I decided to take a look at Microsoft\'s .NET framework and noticed that their Color class has fu

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-13 04:26

    1. HSB!=HSL && HSB==HSV
    2. HSBL and HSBLV not exists because Lightness and Brightness(Value) are substitutes
    3. Here are conversion methods (more on wiki HSL2RGB and HSV2RGB)

    HSV -> RGB (implementation in js here)

    RGB -> HSV (implementation in js here)

提交回复
热议问题