Skip to content

#35 fix parse hex color and unit test#37

Merged
Alex009 merged 5 commits intoicerockdev:developfrom
Lobynya:#35-fix-parse-hex-color-and-unit-test
Jun 16, 2025
Merged

#35 fix parse hex color and unit test#37
Alex009 merged 5 commits intoicerockdev:developfrom
Lobynya:#35-fix-parse-hex-color-and-unit-test

Conversation

@Lobynya
Copy link
Contributor

@Lobynya Lobynya commented Jun 16, 2025

check parse hex color and add unit test

NonoxyS and others added 2 commits June 6, 2025 03:17
Now this function supports multiple hex color formats with optional hash prefix:
3 digits (RGB): Each digit is expanded to two digits (e.g., "F0A" → "FF00AA")
4 digits (ARGB): Each digit is expanded to two digits (e.g., "8F0A" → "88FF00AA")
6 digits (RRGGBB): Standard RGB format with full alpha (255)
8 digits (AARRGGBB): Full ARGB format with explicit alpha channel
@Lobynya Lobynya changed the base branch from master to develop June 16, 2025 06:42
@Alex009 Alex009 merged commit ad76a9d into icerockdev:develop Jun 16, 2025
3 checks passed
@Alex009 Alex009 added this to the 0.10.1 milestone Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Color.parseColor fails to parse valid HEX formats and has incorrect validation

3 participants