summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Add documentation comments and line breaks between methodsBen Bridle2024-10-02
|
* Add RGBA version of as_rgb_hex methodBen Bridle2024-10-02
|
* Rename as_rgb method to as_rgb_array, and add RGBA versionBen Bridle2024-10-02
| | | | The new name makes clear the return type.
* Remove unused unsafe from_array transmutation method.Ben Bridle2024-10-02
|
* Restrict value of grey parameter to valid rangeBen Bridle2024-10-02
| | | | The value passed into the grey method is only valid between 0 and 15.
* Move TRANSPARENT definition down to the other colour definitionsBen Bridle2024-10-02
|
* Implement From<Colour> for u32Ben Bridle2024-10-02
|
* Implement the Display trait for ColourBen Bridle2024-10-02
|
* Implement PartialEq, Eq, and Hash traits for ColourBen Bridle2024-10-02
|
* First commitv1.0.0Ben Bridle2023-12-24