Solved

RGB of Orange

Posted on 2000-03-31
4
2,190 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
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…

739 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