7 packages found

    Determines the best contrast color to use. Give it a background color and it returns a foreground color (black or white by default but customizable).

    published 1.0.1 a year ago
    M
    Q
    P

    Converts hex color to rgb and calculates appropriate corresponding foreground.

    published 2.2.0 7 years ago
    M
    Q
    P

    Returns light when a color is dark and dark when a color is light (and a little more).

    published 4.0.0 2 years ago
    M
    Q
    P

    A general-purpose color library for JavaScript

    published 2.0.3 7 months ago
    M
    Q
    P
    M
    Q
    P
    M
    Q
    P

    functions which help to work with RGB, HEX, YIQ, HSV colours

    published 1.0.2 6 years ago
    M
    Q
    P