Live Chat Icon For mobile
Live Chat Icon

Is there a way to find out the brightness of a Color?

Platform: WinForms| Category: Colors

There is a very convenient Color.GetBrightness method that will tell you how close a Color is to black or white. This is useful when you want to use a bright or a dark color to draw based on whether the background Color is dark or bright.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.