color_models 0.2.5+1 copy "color_models: ^0.2.5+1" to clipboard
color_models: ^0.2.5+1 copied to clipboard

outdated

A set of classes representing the CMYK, HSI, HSL, HSP, HSV, LAB, RGB, and XYZ color spaces with methods to convert colors between each space.

[0.2.5+1] - March 23, 2020 #

  • Fixed a bug and corrected rounding errors in HSP to RGB conversion.

[0.2.5] - March 22, 2020 #

  • Added the [relative] parameter to the [warmer] and [cooler] methods.

[0.2.4+2] - March 22, 2020 #

  • Added the [saturation] getter to [ColorModel].

[0.2.4+1] - March 22, 2020 #

  • Added the [hue] getter to [ColorModel].

[0.2.4] - March 21, 2020 #

  • Added the [inverted] and [opposite] getters, as well as the [warmer], [cooler], [rotateHue], and [withHue] methods to each [ColorModel].

[0.2.3] - March 18, 2020 #

  • Added [alpha] values to all [ColorModel]s.

  • Added withValue methods to all [ColorModel]s.

[0.2.2] - March 16, 2020 #

  • Added [hex] getter to [ColorModel].

  • Added [fromHex] static method to all [ColorModel]s.

  • All [ColorModel]s are now @immutable.

[0.2.1] - January 15, 2020 #

  • All [ColorModel]s now @override the toString() method.

[0.2.0+1] - January 15, 2020 #

  • Documentation and formatting changes.

[0.2.0] - January 4, 2020 #

  • To provide better support for 3rd party color models, [ColorModel]s are now requried to @override the [toRgbColor] method. All [ColorModel]s included in this library still use the color conversion methods found in the [ColorConverter] helper class, but the methods are now public.

[0.1.2] - July 31, 2019 #

  • All [ColorModel]s now @override [hashCode].

[0.1.1] - July 25, 2019 #

  • Added a private constructor to the [ColorConverter] class.

  • Minor formatting changes.

[0.1.0] - July 23, 2019 #

  • Initial release
12
likes
0
pub points
81%
popularity

Publisher

verified publisherjamesalex.dev

A set of classes representing the CMYK, HSI, HSL, HSP, HSV, LAB, RGB, and XYZ color spaces with methods to convert colors between each space.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on color_models