slint
slint copied to clipboard
Add properties to the color type to get HSV component
One should add the following properties to a colour to access individual components
- [X] red
- [X] blue
- [X] green
- [ ] hue
- [ ] saturation
- [ ] brightness or value?
- [X] alpha or opacity?
What should these return? Float from 0 to 1 or int from 0 to 255? (Should hue be in deg) How to distinguish hue and saturation from the hsv and HSL colorspace?