Results 1 to 2 of 2

Thread: Color Variables in 3.5

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2016
    Location
    Burnsville, MN
    Posts
    5

    Default Color Variables in 3.5

    I was having troubles converting code from V2.3 to V3.5, in relation to to visualizations and colors. In 2.3 the DWORD variable to set color was required to be 16#RR GG BB (6 hexadecimal digits). In V3.5 they added a transparent feature. I have found the following:
    1. You must add 2 digits to your variable assignment in front of the RRGGBB values. So in V3.5 your value should look as follows, 16#TTRRGGBB (8 hex digits).

    2. For the transparency digits, 00 is fully transparent and FF is fully colored.

    3. Some of my colors that were converted from 2.3 had to have the values inverted to match the color they represented in v2.3. This leads me to believe V2.3 format was 16#BBGGRR.
    Edit: invert the order of the numbers by pairs, based off the color they affect, not a literal reverse order. If your value in 2.3 16#408000(Forest_Green), your 3.5 value will be 16#FF008040
    Last edited by SDeVlaeminck; 03-23-2017 at 12:40 PM.

  2. #2
    Join Date
    May 2009
    Location
    Minneapolis, MN
    Posts
    295

    Default

    Thanks for the tip!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •