LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

dark magenta

Solved!
Go to solution

Hi,

 

I want to have a plot and its annotation to use the same color. In PlotXY, I used VAL_DK_MAGENTA, which according to the CVI help is:

VAL_DK_MAGENTARed = 255, Green = 0, Blue = 128

 

If I use the GUI editor to set the glyph color using the 'More' button with its color popup, this setting returns a quite different color, much brighter...?

 

It appears tome that VAL_DK_MAGENTA is much closer to 128/0/128...

 

Wolfgang

0 Kudos
Message 1 of 4
(3,793 Views)
Solution
Accepted by topic author Wolfgang

Effectively VAL_DK_MAGENTA is defined in userint.h as

 

#define VAL_DK_MAGENTA                  0x800080L

 

that is, 128/0/128. Online documentation need to be corrected on this item.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 4
(3,784 Views)

Thank you both for pointing this out. We'll fix the documentation.

 

Luis

0 Kudos
Message 3 of 4
(3,771 Views)
Red = 255, Green = 0, Blue = 128

This color is usually called red-purple.
I have those additional colors in some of my projects:

// Some additional (bright) colors
#define VAL_ORANGE 0xFF8000
#define VAL_REDPURPLE 0xFF0080
#define VAL_LTBLUE 0x0080FF
#define VAL_LTGREEN 0x00FF80
#define VAL_PURPLE 0x8000FF
#define VAL_YELLOWGREEN 0x80FF00
--
Guillaume Dargaud
http://www.gdargaud.net/Hack/GenPalette.html


0 Kudos
Message 4 of 4
(3,717 Views)