JSPM

Found 10 results for yiq

color-space

Collection of color space conversions

  • v2.3.2
  • 94.62
  • Published

culori

A general-purpose color library for JavaScript

  • v4.0.1
  • 93.46
  • Published

contrast-color

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).

  • v1.0.1
  • 67.96
  • Published

hex2rgb

Converts hex color to rgb and calculates appropriate corresponding foreground.

  • v2.2.0
  • 54.71
  • Published

yiq

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

  • v4.0.0
  • 53.42
  • Published

colour-helpers

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

    • v1.0.2
    • 17.95
    • Published

    color-is-dark

    Returns whether the given rgb color array has a YIQ brightness value of less than 128 (50% brightness).

    • v1.0.1
    • 14.12
    • Published