press down arrow to get a random color
The OKLAB color space is a perceptual color space designed by Björn Ottosson in 2020. It serves as a modern improvement over the traditional CIELAB space, aiming to be simple to use while correcting flaws in LAB's perceptual uniformity, especially in the handling of blue hues which can appear purple in LAB. OKLAB uses three coordinates: 'L' for perceived lightness, 'a' for green-red, and 'b' for blue-yellow. Its superior perceptual accuracy makes it excellent for tasks like color blending, gradient generation, and image processing.
The LAB color space (specifically CIELAB or CIE L*a*b*) is a color standard defined by the International Commission on Illumination (CIE) in 1976. It represents colors with three dimensions: 'L' for lightness (ranging from 0 for black to 100 for white), 'a' for the green-red color component, and 'b' for the blue-yellow color component. Unlike RGB or CMYK, LAB is designed to be device-independent, meaning it defines colors based on human perception rather than how they are produced by a specific screen or printer. This makes it an crucial intermediate space for converting between different color profiles.