Solved

RGB of Orange

Posted on 2000-03-31
4
2,185 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
This video discusses moving either the default database or any database to a new volume.

759 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

22 Experts available now in Live!

Get 1:1 Help Now