Welcome, Guest
Username: Password: Remember me

TOPIC: color maps

color maps 9 years 3 weeks ago #18768

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Hello,

I like the possibility to save the legend appearance and especially the color scales! So it is very fast to adapt the color map by copying the hex values from a variety of color maps into the *.cs1 file.

However sometimes BlueKenue doesn't adopt the right colors?
E.g. if i want to apply 9 colors (blue gradient) with:
#f7fbff
#deebf7
#c6dbef
#9ecae1
#6baed6
#4292c6
#2171b5
#08519c
#08306b

it gives me some kind of a brown gradient...

Any tips around?

Best regards,
Clemens
The administrator has disabled public write access.

color maps 9 years 3 weeks ago #18769

  • Serrer
  • Serrer's Avatar
  • OFFLINE
  • Moderator
  • Posts: 720
  • Thank you received: 304
Hi Clemens,

You've got the colour bytes in the wrong position.
red must be in the least significant byte position.
BLUE,GREEN,RED ie. 0xBBGGRR

Your colour scale should look like

0xfffbf7
0xf7ebde
0xefdbc6
0xe1ca9e
etc...

Cheers... Martin
The administrator has disabled public write access.
The following user(s) said Thank You: konsonaut

color maps 9 years 3 weeks ago #18770

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Hi Martin,

thank you very much!

Best regards,
Clemens
The administrator has disabled public write access.
Moderators: Serrer, a.barton

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.