Skip to content

Colors: Adding color opacity property#5042

Merged
swharden merged 8 commits intoScottPlot:mainfrom
aespitia:feature/aespitia/color-opacity
Aug 23, 2025
Merged

Colors: Adding color opacity property#5042
swharden merged 8 commits intoScottPlot:mainfrom
aespitia:feature/aespitia/color-opacity

Conversation

@aespitia
Copy link
Contributor

This is to address the request in #5041, if I understood it correctly.

Colors should now have an Opacity property that returns the Alpha/255 as a double

Colors.Magenta.WithOpacity(Colors.Magenta.Opacity / 2);

@swharden swharden linked an issue Aug 23, 2025 that may be closed by this pull request
@swharden swharden enabled auto-merge (squash) August 23, 2025 00:58
@swharden swharden merged commit 9e90e40 into ScottPlot:main Aug 23, 2025
3 checks passed
@aespitia aespitia deleted the feature/aespitia/color-opacity branch August 25, 2025 13:08
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.Opacity

3 participants