BlankThank you Tomasz!

herman
  -----Original Message-----
  From: [email protected] [mailto:[EMAIL PROTECTED]
Behalf Of Tomasz Janeczko
  Sent: January 5, 2007 11:56 AM
  To: [email protected]
  Subject: Re: [amibroker] Displaying HOT-> COLD RGB colors


  Use ColorHSB - its "Hue" parameter is just what you are searchinf for.

  Best regards,
  Tomasz Janeczko
  amibroker.com
    ----- Original Message -----
    From: Herman
    To: AmiBroker YahooGroups
    Sent: Friday, January 05, 2007 4:03 PM
    Subject: [amibroker] Displaying HOT-> COLD RGB colors


    How would I create a function to generate RGB colors ranging in 100
steps (1%) to create Hot->Cold colors like we see in the 3D charts?

    Function getRGBColorTemperature( MyVariable ) // 0 <= MyVariable <= 100;
        {
        Red    = f(MyVariable);
        Green = f(MyVariable);
        Blue   = f(MyVariable);
        return ColorRGB( Red, Geen, Blue );
        }

    Many Thanks!

    herman

  

Attachment: Blank Bkgrd.gif
Description: GIF image

Reply via email to