Feedback
Add hex string support to Colour
- Status
- Fixed
- Fixed in
- v26.6.4
- Source discussion
- https://forum.objo.dev/d/371-add-hexadecimal-value-to-colour
- Last updated
- 2026-06-15
Public summary
Add Colour.FromHex(hex As String) As Colour and Colour.ToHex() As String so ObjoBasic code can create and serialise colours using CSS-style hex strings. The accepted input formats should be #RRGGBB for opaque colours and #RRGGBBAA when alpha is included, with case-insensitive hex digits.