Thema: Delphi Blending colors in HSL

Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#3

Re: Blending colors in HSL

  Alt 11. Jul 2012, 16:52
Delphi-Quellcode:
initialization
  MaxHue := 360;
  MaxSat := 100;
  MaxLum := 100;
You mean should be: MaxHue=MaxSat=MaxLum=255? I tried it and result is also not accurately: R is ok, but GB are not ok (G + 2 and B ok or G + 1 and B + 1)

Edited: for MaxHue=MaxSat=MaxLum=256 is ok. I did right?

And what about other range (default I have 360:100:100)?

Geändert von WojTec (11. Jul 2012 um 16:57 Uhr)
  Mit Zitat antworten Zitat