Skip to content

v1.4.0

Compare
Choose a tag to compare
@ffried ffried released this 14 Jan 19:23
· 160 commits to main since this release
  • Add overloads to use hex values (init(hexString:), init(hex:), hexString() and hexValue()) also with floating point types on RGB/A
  • Add hexValue on RGB/A that returns the hex value as an integer (e.g. RGB<UInt8>(red: 0xAB, green: 0x34, blue: 0xD3).hexValue(as: UInt64) returns 0xAB34D3 as UInt64)