Solved

RGB of Orange

Posted on 2000-03-31
4
2,187 Views
Last Modified: 2013-12-03
I need the RGB values of the color orange (couldn't find it in MSDN or in the Windows books that I have).  If possible, it would be great to get a link a place where they have a complete list of RGB values.
    Thanxs,
         Glenn
0
Comment
Question by:GlennDean
4 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 2673671
There isn't _a_ RGB for orange because there isn't _a_ orange.  You usually can use any value that you think looks close.  

Is this for some situation where you ned to match some specific color?
0
 
LVL 23

Accepted Solution

by:
chensu earned 30 total points
ID: 2673906
Orange - RGB(255, 165, 0)

There isn't a complete list of RGB values.

Here is a color table for some common colors.

http://msdn.microsoft.com/workshop/c-frame.htm?954524107163#/workshop/author/dhtml/reference/colors/colors.asp

You can simply open the Paint application, choose the Options/Edit Colors... menu, then press the Define Custom Colors >> button to get any RGB values.
0
 
LVL 3

Author Comment

by:GlennDean
ID: 2673956
Thanxs Chensu for the great link!  I knew orange was probably a 2 to 1 ratio of red to blue with no green (I initially tried 255,127,0) but I wasn't sure of the exact ratio.

Nietod: I'm working on some graphics stuff using Direct3D and I needed to represent the color orange on a rotating cube.

   Thanxs for everyones comments.
        Glenn
0
 

Expert Comment

by:abbeygroup
ID: 14824659
or comparison
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now