RGB to XYZ and LAB colours conversion

前端 未结 3 843
说谎
说谎 2021-02-04 07:59

I\'m having problems converting colours from RGB to LAB space It should be straight forward using the formulas from here, only I\'m getting back the wrong values

  • <
3条回答
  •  再見小時候
    2021-02-04 08:45

    I'm pretty sure ^ is bitwise xor in javascript not a power operator. I think Math.pow is what you are looking for.

提交回复
热议问题