How do I determine darker or lighter color variant of a given color?

前端 未结 13 682
情话喂你
情话喂你 2020-12-04 07:37

Given a source color of any hue by the system or user, I\'d like a simple algorithm I can use to work out a lighter or darker variants of the selected color. Similar to effe

13条回答
  •  感动是毒
    2020-12-04 08:27

    This website notes that you can use the ControlPaint class within the BCL C# System.Windows.Forms namespace.

提交回复
热议问题