awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

JavaScript Color Libraries

Ranking updated Jul 13, 2026

For a javascript library for color manipulation, the strongest matches are bgrins/tinycolor (TinyColor is a comprehensive JavaScript library that provides robust), gka/chroma.js (This library provides a comprehensive suite for color space) and qix-/color (This library provides robust color space conversion, manipulation, and). jariz/vibrant.js and davidmerfield/randomcolor round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

We curate open-source GitHub repositories matching “best javascript color libraries”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.

JavaScript Color Libraries

Find the best repos with AI.We'll search the best matching repositories with AI.
  • bgrins/tinycolorbgrins avatar

    bgrins/TinyColor

    5,248View on GitHub↗

    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

    TinyColor is a comprehensive JavaScript library that provides robust color parsing, conversion, manipulation, and palette generation, while also including built-in accessibility contrast checking.

    JavaScriptColor Manipulation LibrariesColor Palette GeneratorsWCAG Contrast Checkers
    View on GitHub↗5,248
  • gka/chroma.jsgka avatar

    gka/chroma.js

    10,569View on GitHub↗

    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

    This library provides a comprehensive suite for color space conversion, manipulation, and palette generation, making it a flagship tool for developers needing advanced color processing and accessibility auditing.

    JavaScriptColor Palette GeneratorsContrast Validators
    View on GitHub↗10,569
  • qix-/colorQix- avatar

    Qix-/color

    4,937View on GitHub↗

    This is a JavaScript color manipulation library used for converting color spaces, formatting CSS strings, and computing luminosity ratios. It provides tools to transform color values between different mathematical models, including RGB, HSL, and CMYK. The library includes a web accessibility contrast calculator to compute luminosity and contrast ratios, ensuring text readability meets accessibility standards. It also features a CSS color formatter that exports values as hex strings, numeric arrays, or CSS-compatible strings. The toolkit covers broader capabilities for frontend color manageme

    This library provides robust color space conversion, manipulation, and accessibility contrast checking, making it a direct fit for your requirements despite lacking explicit built-in palette generation features.

    JavaScriptColor Manipulation LibrariesWCAG Contrast Checkers
    View on GitHub↗4,937
  • jariz/vibrant.jsjariz avatar

    jariz/vibrant.js

    4,594View on GitHub↗

    vibrant.js is a JavaScript color extraction library used to identify dominant color palettes from images based on the Android Palette algorithm. It functions as an image palette generator and a color processing tool that converts extracted data between RGB, HSL, and Hexadecimal formats. The library analyzes image pixels to categorize colors into specific profiles, including vibrant, muted, dark, and light. It also includes an accessible text color calculator that determines high-contrast hex colors for text overlays based on a selected background color. The toolset covers automated palette g

    This library provides robust color extraction, palette generation, and format conversion capabilities, making it a specialized but effective tool for color manipulation tasks.

    CoffeeScriptColor Palette GeneratorsContrast Color Calculators
    View on GitHub↗4,594
  • davidmerfield/randomcolordavidmerfield avatar

    davidmerfield/randomColor

    6,126View on GitHub↗

    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

    This library provides programmatic color generation and format conversion, serving as a useful utility for creating color palettes even though it lacks built-in accessibility checking features.

    JavaScriptColor Utilities
    View on GitHub↗6,126
  • lokesh/color-thieflokesh avatar

    lokesh/color-thief

    13,596View on GitHub↗

    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

    This library provides robust tools for palette generation from images and includes accessibility contrast checking, making it a specialized but effective choice for color-related tasks in JavaScript.

    TypeScriptWCAG Contrast Checkers
    View on GitHub↗13,596
  • moox/colorM

    MoOx/color

    0View on GitHub↗

    This library provides a comprehensive suite of tools for color conversion and manipulation, making it a direct fit for your requirements even though it focuses primarily on programmatic color handling rather than visual palette generation.

    Color Manipulation
    View on GitHub↗0
  • fooidge/pleasejsFooidge avatar

    Fooidge/PleaseJS

    2,271View on GitHub↗

    JavaScript Library for creating random pleasing colors and color schemes

    This library provides tools for generating random colors and creating color schemes, fitting the core requirements for color manipulation and palette generation in JavaScript.

    JavaScriptColor Manipulation
    View on GitHub↗2,271
  • dylanaraps/pywaldylanaraps avatar

    dylanaraps/pywal

    9,082View on GitHub↗

    Pywal is an image-based theme engine and dynamic color scheme generator that extracts dominant colors from images to create coordinated system-wide color palettes. It functions as a cross-application theme synchronizer and terminal color palette manager, updating interface colors and environment configurations in real-time. The system synchronizes generated palettes across third-party software, window managers, and supported hardware, including RGB backlight controllers for keyboards and laptops. It integrates wallpaper management by applying a source image as the system background while simu

    This is a system-wide theme and wallpaper management tool rather than a JavaScript library for developers to perform color manipulation, conversion, or accessibility checks in their own applications.

    PythonColor Palette Generators
    View on GitHub↗9,082
  • sharkdp/pastelsharkdp avatar

    sharkdp/pastel

    6,243View on GitHub↗

    This is a command-line tool for terminal color manipulation rather than a JavaScript library that you can integrate into your own web projects.

    RustColor Palette GeneratorsColor Scheme Manipulators
    View on GitHub↗6,243
  • google/closure-librarygoogle avatar

    google/closure-library

    4,896View on GitHub↗

    Closure Library is a JavaScript standard library and utility toolset designed for building large-scale web applications. It provides a collection of core utility modules and standardized APIs to simplify complex application logic and state management. The project is built as a modular framework using a namespace-based module system to prevent global scope pollution. It is specifically designed for use with the Closure Compiler to enable aggressive dead-code elimination and minification, reducing the final delivery size in production. To ensure reliability in large projects, the library utiliz

    This is a comprehensive general-purpose utility framework for large-scale web applications rather than a specialized library for color manipulation, conversion, and palette generation.

    JavaScriptBrowser Compatibility & Utilities
    View on GitHub↗4,896
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
bgrins/tinycolor5.2KJavaScriptMITJun 26, 2024
gka/chroma.js10.6KJavaScriptNOASSERTIONJun 1, 2026
qix-/color4.9KJavaScriptMITNov 14, 2025
jariz/vibrant.js4.6KCoffeeScriptMITNov 28, 2017
davidmerfield/randomcolor6.1KJavaScriptCC0-1.0Dec 3, 2025
lokesh/color-thief13.6KTypeScriptMITMar 6, 2026
moox/color0———
fooidge/pleasejs2.3KJavaScript—Aug 31, 2018
dylanaraps/pywal9.1KPythonMITJan 27, 2024
sharkdp/pastel6.2KRustapache-2.0Feb 14, 2026

Related searches

  • a javascript library for canvas drawing
  • CSS color utilities
  • a javascript library for generating QR codes
  • a JS charting library for dashboards
  • a lightweight javascript library for image carousels
  • a javascript library for generating pdf files
  • a lightweight logging library for JavaScript applications
  • a javascript library for parsing csv files