Aceasta este o bibliotecă JavaScript de manipulare a culorilor utilizată pentru conversia spațiilor de culoare, formatarea șirurilor CSS și calcularea rapoartelor de luminozitate. Oferă instrumente pentru a transforma valorile culorilor între diferite modele matematice, inclusiv RGB, HSL și CMYK.
Principalele funcționalități ale qix-/color sunt: Color Manipulation Libraries, Color Luminosity Calculators, Accessibility Contrast Audits, Color Space Converters, WCAG Contrast Checkers, CSS Color Tooling, Formatters, String-to-Numeric Conversions.
Alternativele open-source pentru qix-/color includ: bgrins/tinycolor — TinyColor is a JavaScript color manipulation library used for parsing, converting, and modifying colors across various… davidmerfield/randomcolor — randomColor is a programmatic utility for generating harmonious, aesthetically pleasing color strings for use in web… lokesh/color-thief — Color-thief is a color quantization library and image color palette extractor designed to identify the most prominent… gka/chroma.js — chroma.js is a JavaScript library for color manipulation, space conversion, and the generation of data visualization… stylus/stylus — Stylus is a CSS preprocessor that transforms a dynamic language into standard CSS. It utilizes a compilation workflow… styled-components/polished — Polished is a specialized toolkit for programmatically managing color palettes, converting CSS units, and optimizing…
TinyColor is a JavaScript color manipulation library used for parsing, converting, and modifying colors across various formats and color spaces. It functions as a color space conversion tool and a web accessibility contrast checker to ensure compliance with readability standards. The library provides a color palette generator for creating monochromatic, analogous, and complementary color schemes from a starting color. It also translates colors between hex, RGB, HSL, HSV, and named formats. Additional capabilities include color parsing and normalization, programmatic manipulation of brightnes
randomColor is a programmatic utility for generating harmonious, aesthetically pleasing color strings for use in web stylesheets and digital user interfaces. It functions as a random color generator that produces values in hexadecimal, RGB, and HSL formats. The library uses a logic-based system that calculates hues and luminosity in HSL space to ensure visual harmony. It allows for the application of specific constraints to brightness, transparency, and hue offsets to limit the generated color spectrum. The tool provides capabilities for programmatic color generation across multiple output f
Color-thief is a color quantization library and image color palette extractor designed to identify the most prominent colors in visual media. It functions as a semantic color classifier and color space converter, providing tools to extract dominant colors and generate representative palettes from images, videos, and canvas elements. The project utilizes a WebAssembly color processor and background workers to perform high-performance pixel analysis. It implements a WCAG contrast analyzer to calculate color contrast ratios and determine accessible foreground text colors based on accessibility s
chroma.js is a JavaScript library for color manipulation, space conversion, and the generation of data visualization color scales. It provides a system for transforming colors between formats including RGB, HSL, Lab, LCH, OKLab, and CMYK, alongside tools for parsing and modifying colors across these spaces. The library specializes in data-driven color mapping, using algorithms such as Cubehelix, Bezier interpolation, and ColorBrewer palettes to translate numeric data into visual gradients. It includes a perceptual color difference calculator that utilizes CIE 2000 Delta E and Euclidean metric