Skip to content
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

Add RGB API support #225

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add RGB API support #225

wants to merge 2 commits into from

Conversation

fatih
Copy link
Owner

@fatih fatih commented Mar 24, 2024

This PR adds support for a new RGB API to allow to print 24-bit colors. Opening for feedback, and will probably merge it as it is. If anyone wants to try it out, check the TestRGB test case or the newly added README.md docs.

ss-2024-03-24-113149

Signed-off-by: Fatih Arslan <ftharsln@gmail.com>
Copy link

@Integralist Integralist left a comment

Choose a reason for hiding this comment

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

Great thanks 👍

Copy link

@bschaatsbergen bschaatsbergen left a comment

Choose a reason for hiding this comment

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

Couple nitpicks on the comments but, LGTM 🚀
API seems straightforward and easy to use. It's a great addition to the existing supported ANSI color palette.

Thanks for picking this up 👍🏼

color.go Outdated Show resolved Hide resolved
color.go Outdated Show resolved Hide resolved
color.go Outdated Show resolved Hide resolved
color.go Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Co-authored-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
@fatih
Copy link
Owner Author

fatih commented Mar 30, 2024

Thanks for to the reviews. I want to keep this open for some time to try it out before I merge it.

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.

None yet

3 participants