Jump to content
Sign in to follow this  
Guest ridgell

customdraw color question

Recommended Posts

Guest ridgell

what is the story on custom draw colors?i use #ac3628 and get apple red, but the same value in; CustomDraw Name="fs9gps:rose" and i get a blueish color. is there a factor by which the custom draw colors are different from colors used in strings?

Share this post


Link to post
Share on other sites
Guest bartels

Did you try "0xac3628" instead? Strings can work with html-colour code (#....), whereas most CustomDraws need direct hex-syntax 0x....

Share this post


Link to post
Share on other sites
Guest ridgell

thanks for the responce.yes i did. here are 2 snipets, 1st the custom draw, and then the string. while the values are the same i get 2 different colors. (L:hudcolor,enum) 0 == if{ 0xac3628 } (L:hudcolor,enum) 1 == if{ 0x00ff00 } (L:hudcolor,enum) 2 == if{ 0xffffff }+

Share this post


Link to post
Share on other sites
Guest bartels

#.. and 0x.. are different syntaxes. It is #rrggbb, but it is 0xbbggrr. You should use 0x2836ac, maybe both times to avoid irritation.

Share this post


Link to post
Share on other sites
Guest ridgell

thanks! i did not know the reverse trick. my other colors ooffoo and ffffff were palindromes so i did get the reversal.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...