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
·
bgrins avatar

bgrins/TinyColor

0
View on GitHub↗
5,248 stars·438 forks·JavaScript·MIT·10 viewsbgrins.github.io/TinyColor↗

TinyColor

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 brightness, saturation, and hue, and web accessibility auditing through contrast ratio calculations. The toolset also covers dynamic UI color generation and the analysis of color perception.

Features

  • Color Manipulation Libraries - Implements a comprehensive suite for parsing, converting, and programmatically modifying colors across multiple formats in JavaScript.
  • Color Palette Generators - Generates harmonious color palettes including monochromatic, analogous, complementary, and triadic schemes.
  • Accessibility Contrast Audits - Calculates contrast ratios between text and background colors to audit compliance with accessibility standards.
  • Color Scheme Manipulators - Adjusts brightness, saturation, and hue of colors to create dynamic visual effects.
  • Color Space Converters - Transforms color coordinates between different mathematical models and formats using algebraic formulas.
  • Property Adjustments - Provides utilities for modifying the lightness, brightness, saturation, or hue of a color.
  • Color Format Normalizers - Translates colors between multiple representations including hex, RGB, HSL, and HSV.
  • Color String Parsers - Employs regular expressions to parse various color string formats into manipulatable objects.
  • Contrast Validators - Calculates contrast ratios between colors to ensure compliance with web accessibility and readability standards.
  • Internal Color Representations - Provides a standardized internal RGB representation to ensure consistent calculations across different color spaces.
  • Color Luminosity Calculators - Calculates perceived brightness and luminance of colors using standard weighting ratios.
  • Dynamic Theme Color Generators - Programmatically creates coordinated color palettes and schemes to build consistent visual themes.
  • Color Blending - Implements color blending by calculating weighted averages of color channel values.
  • WCAG Contrast Checkers - Calculates contrast ratios between colors to verify compliance with WCAG accessibility and readability standards.
  • Named Color Mappings - Provides a lookup table to translate human-readable color names into RGB values.
  • Color Libraries - Fast, small library for color manipulation and conversion.
  • Color Manipulation - Fast and lightweight color conversion and manipulation.
  • Color Utilities - Fast, lightweight color conversion and manipulation.

Star history

Star history chart for bgrins/tinycolorStar history chart for bgrins/tinycolor

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to TinyColor

Similar open-source projects, ranked by how many features they share with TinyColor.
  • 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

    JavaScript
    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

    JavaScript
    View on GitHub↗4,937
  • sharkdp/pastelsharkdp avatar

    sharkdp/pastel

    6,243View on GitHub↗
    Rustclicolor-convertercolor-space
    View on GitHub↗6,243
  • 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

    JavaScript
    View on GitHub↗6,126
See all 30 alternatives to TinyColor→

Frequently asked questions

What does bgrins/tinycolor do?

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.

What are the main features of bgrins/tinycolor?

The main features of bgrins/tinycolor are: Color Manipulation Libraries, Color Palette Generators, Accessibility Contrast Audits, Color Scheme Manipulators, Color Space Converters, Property Adjustments, Color Format Normalizers, Color String Parsers.

What are some open-source alternatives to bgrins/tinycolor?

Open-source alternatives to bgrins/tinycolor include: gka/chroma.js — chroma.js is a JavaScript library for color manipulation, space conversion, and the generation of data visualization… qix-/color — This is a JavaScript color manipulation library used for converting color spaces, formatting CSS strings, and… sharkdp/pastel. 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… vicc/chameleon — Chameleon is a color framework for Swift and Objective-C applications, providing a toolkit for managing dynamic…