Releases: ChildrenofkoRn/decolmor
Releases · ChildrenofkoRn/decolmor
v1.3.0
v1.2.0
.hex_to_rgb
now support a returnable alpha in range0..255
.rgb_to_hex
now support incoming alpha in range0..255
use the option:alpha_255: true
- Improved performance for HSL/HSV/HSB => RGB conversion
v1.1.2
- Migrate: Travis CI => Github Actions Workflow
- Fix: returned helper methods to private
v1.1.1
- Now you can
include
the module into your class- gem methods will be available as class methods
- Fixed default branch in .gemspec metadata paths
v1.1.0
::hex_to_rgb
- change default rounding 5 => 3 for Alpha channel
reason: 3 digits is enough for a lossless conversion0..255
->0..1
->0..255
- for the Alpha channel you can now set rounding as the second argument:
Decolmor::hex_to_rgb(hex, 2)
- support short version of HEX
e.g:#CF3
,0F9
,#0F9F
v1.0.0
First version of the color space conversion gem