Skip to content

Use OkHSV for RichTextLabel rainbows #106733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2025
Merged

Conversation

Ivorforce
Copy link
Member

@Ivorforce Ivorforce commented May 22, 2025

As a modern game engine, it is important to have the bestest of rainbows.

RichTextLabel [rainbow] uses the HSV color space. HSV is an old color space, and creates unsightly gradients.

I changed it to use OkHSV instead, which is a similar, but more pleasing, alternative.

Old:

Screen.Recording.2025-05-22.at.22.52.32.mov

New:

Screen.Recording.2025-05-22.at.22.52.20.mov

@Ivorforce Ivorforce added this to the 4.x milestone May 22, 2025
@Ivorforce Ivorforce requested review from a team as code owners May 22, 2025 20:57
Copy link
Member

@fire fire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by the International Rainbow Consortium 📜 🌈

@akien-mga akien-mga modified the milestones: 4.x, 4.5 May 24, 2025
@Repiteo Repiteo merged commit 955744f into godotengine:master May 26, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented May 26, 2025

Thanks!

@Ivorforce Ivorforce deleted the ok-rainbows branch May 26, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants