Native Package Manager

    24 packages found

    Detects if a hex color is dark or light. It is based on the w3 documentation for color luminance: https://www.w3.org/TR/WCAG20/#relativeluminancedef

    published 1.2.0 4 years ago
    M
    Q
    P

    bare-bones color luminance functions

    published 2.1.0 8 years ago
    M
    Q
    P

    Get relative luminance from a color string.

    published 1.0.0 3 years ago
    M
    Q
    P

    Методы для работы с цветом и его компонентами

    published 1.0.5 5 months ago
    M
    Q
    P

    Evaluate if a to colors have sufficient contrast to pass WCAG requirements.

    published 0.2.1 3 years ago
    M
    Q
    P

    Change the hue of a color without changing the relative luminance

    published 1.0.0 7 years ago
    M
    Q
    P

    Lightweight (no dependencies) and fast color brightness detector built with Flow Types.

    published 1.0.1 4 years ago
    M
    Q
    P

    Compare colors to one another. Especially useful for validating color input fields.

    published 1.0.2 22 days ago
    M
    Q
    P

    SafeColor generates accessible colors that compiles with WCAG success criteria 1.4.3 (or any contrast ratio of your choice). It can generate either a random color that is contrast safe with a given color, or a consistent color for a given string.

    published 1.0.1 3 years ago
    M
    Q
    P

    Calculate the color in an array of colors that gives the highest contrast to another color.

    published 0.3.1 3 years ago
    M
    Q
    P

    For a given color, find a contrasting color (not optimal).

    published 1.1.2 8 months ago
    M
    Q
    P

    Calculate contrast ratio between two CSS color strings.

    published 0.2.1 3 years ago
    M
    Q
    P

    Color space based on human perception

    published 2.1.3 a year ago
    M
    Q
    P

    Colour transformation utilities

    published 1.0.1 8 years ago
    M
    Q
    P

    A React hook for using luminance,support React18

    published 0.1.3 3 months ago
    M
    Q
    P

    calculate relative luminance

    published 2.0.1 3 years ago
    M
    Q
    P

    🐻 fuzzy image diff'ing for the terminal

    published 1.2.0-alpha 4 years ago
    M
    Q
    P

    Helps to determine what color of text goes best for a given background, light or dark (and vice versa).

    published 0.2.1 6 months ago
    M
    Q
    P

    Reads luminance and histogram data from JPEG images (based on Bill Yeh's pixelr)

    published 0.2.1 6 years ago
    M
    Q
    P

    A lightweight library for color calculation and generation

    published 0.1.1 3 years ago
    M
    Q
    P