Color

Description

Display and convert a color.

Details

Display and convert a color from and to hexadecimal, HSL, RGB, CMYK, and CSS name

Aliases

  • rgb
  • cmyk
  • hsv
  • hsl
  • hex
  • hexadecimal
  • colors

Usage

Format

color <color>

Examples

  • color blue
  • color #deaded
  • color hsl(210,50,50)

Arguments

Name Type Required Minimum Maximum
Color String Yes

Source

color.js