How can I use the HSL colorspace in Java?

前端 未结 6 1070
遇见更好的自我
遇见更好的自我 2021-02-12 22:51

I\'ve had a look at the ColorSpace class, and found the constant TYPE_HLS (which presumably is just HSL in a different order).

Can I use this const

6条回答
  •  后悔当初
    2021-02-12 23:28

    If your input is swing/awt widgets, then with Java 7 JColorChooser you can get Color by HSV and HSL spaces. http://java.dzone.com/articles/new-color-chooser-jdk-7

提交回复
热议问题