Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Setting the Individual Red, Green and Blue Components of a Color

5 ratings | 4.60 out of 5
Print

Downloads

Filename: rgb.vi
Requirements: View

This VI is a simple demonstration of the RGB color specifications, where a color is defined in terms of its red, green, and blue content. For example, if each color component is represented by an 8-bit integer, the following holds true:
1. Blue is 0 Red, 0 Green 255 Blue or hex 0000FF
2. Orange is 255 Red, 165 Green, 0 Blue or hex FFA500
3. Black is 0 Red, 0 Green, 0 Blue or hex 000000
You can use this VI to set each color component separately and observe how it affects the overall RGB color.

Requirements


Filename: rgb.vi

Software Requirements


Application Software: LabVIEW Full Development System 5.1
Language(s): LabVIEW

 
5 ratings | 4.60 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).