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

feat: rgb + hex format in getTextColor() #3758

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Pulkitxm
Copy link

@Pulkitxm Pulkitxm commented Aug 7, 2024

Fixes: #3753

this pr fixes the return value of the getTextColor(), where the default value is set to be 0, if 1 is passed then rgb value is returned else a hex value is returned
 
hex with getTextColor()
image

rgb with getTextColor(1)
image

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.

[getTextColor] It should return in the RGB format
1 participant