# Change Log All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/) and this project adheres to [Semantic Versioning](https://semver.org/). ## [Unreleased] ## [0.6.2] - 2022-11-30 ### Changed - rust edition to "2021" ## [0.6.0] - 2020-07-15 ### Changed - changed return value of new_string-method from Option to Result ## [0.5.0] - 2020-02-23 ### Added - new methods: mix_additive(&self, color: Color) -> Color and mix_subtractive(&self, color: Color) -> Color ## [0.4.1] - 2019-11-12 ### Fixed - output of to_cmyk_string() and wrong rounding in get_cmyk(). ## [0.4.0] - 2019-10-03 ### Added - new method: get_original_string(&self) -> String ### Removed - Copy-trait, because of the need for saving the original_string. ## [0.3.1] - 2019-05-02 ### Added - Default-trait ## [0.3.0] - 2019-04-07 ### Added - new methods: to_temperature(&self) -> u16 and new_temperature(u16) -> Color - new methods: get_luminance(&self) -> f64 and get_contrast(&self, color: Color) -> f64 ## [0.2.2] - 2019-03-09 ### Added - new method: to_number(&self) - added conversion from i32 to Color-struct and from Color-struct to i32 ### Changed - formatted code with `cargo fmt` ## [0.2.1] - 2019-02-12 ### Added - new methods: darken(&self, amount: f64), brighten(&self, amount: f64) ## [0.2.0] - 2019-02-03 ### Added - new methods: new_lab(l: f64, a: f64, b: f64), new_laba(l: f64, a: f64, b: f64, alpha: f64), get_laba(&self) -> (f64, f64, f64, f64) - new methods: new_lch(lightness: f64, chroma: f64, hue: f64), new_lcha(lightness: f64, chroma: f64, chroma: f64, alpha: f64), get_lcha(&self) -> (f64, f64, f64, f64) - new methods: interpolate_hsl(&self, color: Color, interpolation: f64) -> Color, interpolate_hwb(&self, color: Color, interpolation: f64) -> Color, interpolate_lch(&self, color: Color, interpolation: f64) -> Color ### Changed - improved documentation - changed project to rust edition="2018" ## [0.1.3] - 2018-12-31 ### Added - new method: to_gray_string() ### Fixed - output of to_hsl_string(), to_hsv_string() and to_hwb_string() ## [0.1.2] - 2018-11-25 ### Added - new methods: new_gray(gray: u8), grayscale_hdtv(), grayscale_hdr() and monochrome() ### Changed - improved documentation ### Fixed - value of KnownColors::Transparent ## [0.1.1] - 2018-11-18 ### Added - README.md, LICENSE and this CHANGELOG file ## [0.1.0] - 2018-11-17 ### Added - initial Release