AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Suchfunktion Ergebnis der Suchanfrage

Ergebnis der Suchanfrage


Datum des Suchindex: Heute, 07:47

Parameter dieser Suchanfrage:

Suche in Thema: Blending colors in HSL
Suche alle Beiträge, die von "WojTec" geschrieben wurden
• Suchmethode: "Suche nach allen Begriffen"
• Nach Datum (firstpost) sortiert
• Zeige Treffer als Beiträge
Zeige 3 von insges. 3 Treffern
Suche benötigte 0.005s

Es liegen Ergebnisse in folgenden Bereichen vor:

  • Forum: Multimedia

    Re: Blending colors in HSL

      Delphi
      by WojTec, 11. Jul 2012
    Oh, of course, will be 1 * percent = percent :-D

    Because I want to get colors from HSL circle bethween these 2 colors, not just blend 2 paints :)
  • Forum: Multimedia

    Re: Blending colors in HSL

      Delphi
      by WojTec, 11. Jul 2012
    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)?
  • Forum: Multimedia

    Blending colors in HSL

      Delphi
      by WojTec, 11. Jul 2012
    function BlendColorsHueCW(const AColor1, AColor2: TColor; const AValue: Byte {0..100}): TColor;
    var
    RGB: array of Byte;
    HSL1, HSL2: array of Integer;
    H, S, L: Integer;
    begin
    GetRGB(AColor1, RGB, RGB, RGB);
    RGBToHSL(RGB, RGB, RGB, HSL1, HSL1, HSL1);

    GetRGB(AColor2, RGB, RGB, RGB);


URL zu dieser Suchanfrage:

https://www.delphipraxis.net/dp_search.php?do=usersearch&search_username=WojTec&search_exact_username=1&search_sortby=dateline&search_resulttype=post&search_matchmode=0&searchthreadid=169308
Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:58 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz