Skip to content

v1.0.0

Choose a tag to compare

@dominnya dominnya released this 20 Sep 15:23
· 72 commits to master since this release

🌈 Changelog

πŸš€ Enhancements

  • Add support for HEX, RGB, HSL & CMYK color models
  • Add Palette class to manipulate color models, conversion made easy
  • Add getters & setters to work with color models for Palette
  • Add Filter class to work with color values
  • Add 7 new filter methods to adjust values:
    • contrast - Contrast adjustment for the color (0-100+)
    • grayscale - Grayscale adjustment for the color (0-100)
    • invert - Color invertor, inverts R, G, B values
    • lighten - Color lightness adjustment
    • darken - Color lightness adjustment
    • rotateHue - Hue rotation method
    • saturate - Color saturation adjustment
  • Add pickColorCombination method to easily pick color palettes
  • Add 7 new utility functions to manipulate with colors without the use of classes:
    • hueToRgb(Hue) - Hue to RGB converter
    • hexToRgb(HEX) - HEX to RGB converter
    • hslToRgb(HSL) - HSL to RGB converter
    • cmykToRgb(CMYK) - CMYK to RGB converter
    • luminosity(RGB) - Luminosity finder for the color
    • randomColor() - Random HEX color picker
    • padHEX(R/G/B value of HEX) - 00 pad adder for HEX

πŸ“– Documentation

  • Add general introduction to the package in README.md