Skip to content

Releases: ChildrenofkoRn/decolmor

v1.3.0

27 Sep 15:03
Compare
Choose a tag to compare
  • Added support HSI <==> RGB
  • Added methods for HEX <==> HSL/HSV/HSB/HSI/CMYK
  • Fixed incorrect conversion to RGB when HUE == 360
    it was about the methods:
    • hsl_to_rgb_alt
    • hsv_to_rgb_alt
    • hsi_to_rgb

v1.2.0

21 Sep 14:45
Compare
Choose a tag to compare
  • .hex_to_rgb now support a returnable alpha in range 0..255
    .rgb_to_hex now support incoming alpha in range 0..255
    use the option: alpha_255: true
  • Improved performance for HSL/HSV/HSB => RGB conversion

v1.1.2

16 Sep 21:26
Compare
Choose a tag to compare
  • Migrate: Travis CI => Github Actions Workflow
  • Fix: returned helper methods to private

v1.1.1

16 Sep 08:49
Compare
Choose a tag to compare
  • 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

15 Sep 04:43
Compare
Choose a tag to compare

::hex_to_rgb

  • change default rounding 5 => 3 for Alpha channel
    reason: 3 digits is enough for a lossless conversion 0..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

15 Sep 04:42
Compare
Choose a tag to compare

First version of the color space conversion gem