All notable changes to colors-convert library are be documented here.
- [add] add the following functions:
isRgbString
,isRgbaString
,isCmykString
,isHslString
,isHslaString
,stringToColor
- [fix]
#00000
is not a valid hex color - [add] add the following functions:
colorToHex
,color2rgba
,rgbaToHex
,cmykToRgba
,cmykToHsla
,hexToHsla
,rgbToHsla
,rgbaToHsla
,hslToRgba
,colorToCmyk
,colorToHsl
,hslToHsla
,colorToHsla
,hslaStringToObject
,hexToRgb
,hexToRgba
,shortToLongHex
- [add] add hsla color format
- [add] add api page
- [add] test coverage > 97%
- [add] add a new logo
- [change] set as deprecated the following functions:
color2string
,color2cssString
,hex2rgbOrRgba
,hex2rgba
,hex2hexWithAlpha
,hex2cmyk
,hex2hsl
,rgb2hex
,rgb2cmyk
,rgb2hsl
,rgb2rgba
,color2rgb
,rgbString2Object
,rgba2rgb
,rgbaString2Object
,cmyk2hex
,cmyk2rgb
,cmyk2hsl
,cmykString2Object
,hsl2hex
,hsl2rgb
,hsl2cmyk
,hslString2Object
,getRandomColor
, - [change]
rgb2rgba
has optional alpha parameter - [change]
ColorName
type: is no more a string, but an object with name, hex and rgb - [change] update README
- [remove] remove useless dependencies
- [change] add Netlify Status in README
- [add] add useless demo page
- [change] update README
- [change] update README
- [fix] remove the
°
character for hsl oncolor2cssString
function (closes: #2)
- [add] add
hslString2Object
,rgbString2Object
,rgbaString2Object
,cmykString2Object
functiona
- [change] update README
- [add] add test for
color2string
andcolor2cssString
for hsl color format
- [fix] fix compiling problems
- I don't know
- [change] rename
COLOR
type withColor
- [add] add and test
color2rgb
,rgb2rgba
,rgba2rgb
functions - [add] add and test
mix
,name
functions
- I don't know
- [add] add Hsl color model
- [add] add
cmyk2hsl
,hex2hsl
,hsl2cmyk
,hsl2hex
,rgb2hsl
functions
- [add] create clean script
- [add] test utils functions
- [change] update README
- [change] throw errors
- [change] small refactor on test, conversion functions and package.json scripts
- [change] git ignore coverage files
- [add] add
rgb2cmyk
,hex2cmyk
,cmyk2rgb
,cmyk2hex
functions
- I don't know
- [change] update README
- [change] update tsconfig
- [change] update README
- [add] add package.json scripts
- [change] test refactor
- [add] add
hex2cmyk
,getRandomColor
functions
- [add] create README
- [change] small refactor
- [setup] TypeScript, Jest
- [add] add Hex, Rgb, Rgba, Cmyk color models
- [add] add basic functions to convert colors
- [add] first commit: basic setup