0

How can I create a bitmap that looks something like this? rectangle colorspectrum

Rectangle picture. Bottom is for dark colors. Top is for bright colors. Colors are changing from left to right.

I need to create my own color spectrum bitmap because (external)image files are often compressed and not showing the correct colors in particular pixels.

Peter O.
  • 32,158
  • 14
  • 82
  • 96
  • Does [this](https://stackoverflow.com/questions/1493944/c-sharp-create-gradient-image) help? – DeMaki Apr 02 '21 at 12:34
  • [Examples](https://stackoverflow.com/search?q=user%3A3152130+gradient) - _bottom is for dark colors. top is for bright colors_ You do know though, that color space is in 3d, right? – TaW Apr 02 '21 at 12:40
  • @TaW yoo those are helpful links. especially [this](https://stackoverflow.com/questions/30339553/fill-panel-with-gradient-in-three-colors/30341521#30341521) – Rt Sayochi Kun Apr 02 '21 at 13:19

0 Answers0