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 hex getter to Color #384

Merged
merged 1 commit into from
Sep 28, 2022
Merged

Add hex getter to Color #384

merged 1 commit into from
Sep 28, 2022

Conversation

Erym974
Copy link
Contributor

@Erym974 Erym974 commented Sep 28, 2022

Add simple getter to have a hex of Color.

E.G :

  • $color = new Color(255, 0, 0);
  • $color->getHex() // return '#ff0000'

@endroid
Copy link
Owner

endroid commented Sep 28, 2022

Thank you!

@endroid endroid closed this Sep 28, 2022
@endroid endroid self-requested a review September 28, 2022 11:12
@endroid endroid self-assigned this Sep 28, 2022
@endroid endroid removed their request for review September 28, 2022 11:12
@endroid endroid added the enhancement New feature or request label Sep 28, 2022
@endroid endroid reopened this Sep 28, 2022
@endroid endroid merged commit aec7fb1 into endroid:master Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants