How do I calculate lightness based on x, y coordinates for a colorpicker?

后端 未结 0 920
星月不相逢
星月不相逢 2020-12-08 01:23

I want to build a color picker without using . How do I calculate what the lightness should be in the containerClick function? My cod

相关标签:
回答
  • 消灭零回复
提交回复
热议问题