Overview of Color library capabilities
mainColor is a Ruby library designed for mathematical color space manipulation. It supports RGB, CMYK, HSL, and other color spaces. It is intended for applications requiring color theory-based math rather than device-specific color profile management (like sRGB or Adobe RGB).
Key features include:
- Manipulation of RGB, CMYK, HSL, and absolute color spaces like CIE LAB and CIE XYZ.
- Support for named RGB colors (commonly used in HTML, SVG, and X11).
- Reference white values (D65 and D50) provided in
Color::XYZfor conversions between absolute and relative color spaces.