Convert Rgb to Lch | lab lch変換
RgbTheRgbcolorspaceconsistsofallpossiblecolorsthatcanbemadebythecombinationofred,green,andbluelight.Itsapopularmodelinphotography,television,andcomputergraphics.LchLchissimilartoitscousinCie-L*ab,exceptthatitsbeenrearrangedintheshapeofaspherewhichmakesitusefulforapplicationslikehigh-endphotoeditingandretouchingimages.Readmoreaboutithere[1]Lookingforthecode?AllcalculationsweredoingusingtheopensourceColorMine[2]library.ThecodeusedfortheRgbandLchconversionscanbefoundonGithub:ConversionExample:v...
RgbThe Rgb color space consists of all possible colors that can be made by the combination of red, green, and blue light. Its a popular model in photography, television, and computer graphics.
LchLch is similar to its cousin Cie-L*ab, except that its been rearranged in the shape of a sphere which makes it useful for applications like high-end photo editing and retouching images. Read more about it here[1]
Looking for the code?All calculations were doing using the open source ColorMine[2] library.
The code used for the Rgb and Lch conversions can be found on Github:
Conversion Example: var rgb = new Rgb();var lch = rgb.To<Lch>(); References More info on the Lch color space (www.colourphil.co.uk) ColorMine (github.com)