RGB and LAB color spaces: Conversion and interpolation

Benjamin Gudehus hastebrot at gmail.com
Fri Sep 25 14:42:55 UTC 2015


I want to convert colors between different color spaces and interpolate
them within the specific color space (sRGB and its cylindrical
transformations HSL/HLS, HSV/HSB, and HSI. LAB and its cylindrical
transformations LCH, and HCL).

javafx.scene.paint.Color only accepts (s)RGB and HSB and seems to support
interpolate() within RGB only. Should I use java.awt.color.ICC_ColorSpace
(which lacks support for HSI, LCH and HCL) or is there a more complete
library for Java or JavaFX?


More information about the openjfx-dev mailing list