colors-convert
Advanced tools
Changelog
1.4.0
isRgbString
, isRgbaString
, isCmykString
, isHslString
, isHslaString
, stringToColor
Changelog
1.3.0
#00000
is not a valid hex colorcolorToHex
, color2rgba
, rgbaToHex
, cmykToRgba
, cmykToHsla
, hexToHsla
, rgbToHsla
, rgbaToHsla
, hslToRgba
, colorToCmyk
, colorToHsl
, hslToHsla
, colorToHsla
, hslaStringToObject
, hexToRgb
, hexToRgba
, shortToLongHex
color2string
, color2cssString
, hex2rgbOrRgba
, hex2rgba
, hex2hexWithAlpha
, hex2cmyk
, hex2hsl
, rgb2hex
, rgb2cmyk
, rgb2hsl
, rgb2rgba
, color2rgb
, rgbString2Object
, rgba2rgb
, rgbaString2Object
, cmyk2hex
, cmyk2rgb
, cmyk2hsl
, cmykString2Object
, hsl2hex
, hsl2rgb
, hsl2cmyk
, hslString2Object
, getRandomColor
,rgb2rgba
has optional alpha parameterColorName
type: is no more a string, but an object with name, hex and rgbChangelog
1.2.1 - 2020-06-28
°
character for hsl on color2cssString
function (closes: #2)Changelog
1.2.0 - 2020-06-28
hslString2Object
, rgbString2Object
, rgbaString2Object
, cmykString2Object
functionaChangelog
1.1.5 - 2020-02-16
color2string
and color2cssString
for hsl color format