Repository navigation
7.0.0: The Chromatic Preservation Release
Unicolour
- Add single-value achromatic constructors
- e.g.
var grey = new Unicolour(ColourSpace.Rgb, 0.5)·var black = new Unicolour(ColourSpace.Hsb, 0) - Guarantees hue is ignored during mixing for hued colour spaces
- e.g.
- Remove
.Constrainedproperties from individual colour representations - Allow out-of-gamut colours to be converted
- No longer enforce constraining a colour representation before conversion
- Any gamut limitations are explicitly handled as part of the conversion itself
- This allows for unusual but intuitive edge cases where outlier values can still be roundtrip converted
- e.g. RGB 255 255 510 (white but with 200% blue) → HSB 240.0° 50% 200% instead of HSB —° 0.0% 100.0%
- All 80 conversion functions have been reviewed and testing expanded to cover out-of-gamut roundtrip conversions
- Expose helper functions to convert between hue and wavelength, used as part of WXY colour space
Hue.FromWavelength(double wavelength, XyzConfiguration xyzConfig)Hue.ToWavelength(double degrees, XyzConfiguration xyzConfig)
- Rename chromatic adaptation type used in
XyzConfiguration- e.g.
Adaptation.VonKriesis nowChromaticAdaptation.VonKries
- e.g.
Unicolour.Datasets
- Add ISCC-NBS Munsell centroids
Unicolour.Experimental
- Add colour wheel
- Add colour harmonies
🎁 NuGet
- 🌈 Wacton.Unicolour
7.0.0 - 🔮 Wacton.Unicolour.Datasets
4.0.0 - 🥽 Wacton.Unicolour.Experimental
2.0.0