27 packages found

    Convert RGB to grayscale

    published 1.0.3 8 years ago
    M
    Q
    P

    helper function for WCAG contrast criterion

    published 0.1.6 2 months ago
    M
    Q
    P

    🐻 fuzzy image diff'ing for the terminal

    published 1.2.0-alpha 4 years ago
    M
    Q
    P

    Calculate contrast ratio between two CSS color strings.

    published 0.2.1 3 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 7 months 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

    A lightweight library for color calculation and generation

    published 0.1.1 3 years ago
    M
    Q
    P