delphi3000.com - the free delphi knowledge platform
delphi3000.com - the free delphi knowledge platform
Have a look at your member-status

connecting people's knowledge


  - Recent ArticlesRSS feed for Recent Articles on delphi3000.com
  - List of All Articles
  - Top Viewed Articles
  - Articles (+Attachem.)
  - Articles Of Interest
  - Categories
  - Top Uploader
  - Search
  - Index

  - My Home
  - Submit an Article
  - My Articles
  - My Personal Data
  - My Bookmarks
  - Activities
  - Login/Logout

  - Sign Up
  - Why Sign Up
  - Newsletter

  - Press
  - Advertise

  - Contact
  - Feedback



Community
Borland
ClubeDelphi
Dr. Bob
UK-BUG
Delphi Meetings
Planeta Delphi








Share this article with friendsShare this article with friends
Rate this articleRate this article - to keep the quality of delphi3000.com !
Comment this article or read through previous comments (5)


Extra Color codes for Delphi (Updated)Format this article printer-friendly!Bookmark function is only available for registered users!
Nice list of a few color codes
Product:
Delphi all versions
Category:
VCL-General
Skill Level:
Scoring:
Last Update:
02/22/2002
Search Keys:
delphi delphi3000 article borland vcl code-snippet Delphi-6 color-codes clmonkeygreen color clPaleRed clGold
Times Scored:
15
Visits:
9299
Uploader: Stewart Moss
Company: New Heights Software Developme
Reference: http://www.lib.lsu.edu/committees/webgroup/color_table.html
 
Question/Problem/Abstract:
Please could you tell me the color codes for clMonkeyGreen and other Delphi 6 colors?
Answer:



This Article will be updated over time.

Keep checking back!



unit UnitColorConstants;
(*-----------------------------------------------------------------

    Unit Name: UnitColorConstants
    Version: 2.0
    Author: Stewart Moss
    Creation Date: Jan 31 2002 11:54 pm
    Modification Date: Feb 21 2002
    Dependancies:

    Description:

-- This code is copyright (Jan 31 2002) by Stewart Moss
-- All rights Reserved.
-----------------------------------------------------------------*)

interface

uses
Graphics;

const
  
clNicePaleGreen = TColor($CCFFCC);
  
clPaleRed = TColor($CCCCFF);
  
clNicePurple = TColor($00E1E100);
  
clKhaki = TColor($ADAE80);
  
clMonkeyGreen = TColor($00C0DCC0);
  
clSkyBlue = TColor($00F1CAA6);
  
clMedGray = TColor($00A4A0A0);
  
clCream = TColor($00EFFBFF);

  
clChocolate = TColor($17335C);
  
clDarkBrown = TColor($5C3340);
  
clDarkSlateGrey = TColor($4F4F2F);
  
clDarkTan = TColor($4F6997);
  
clDarkWood = TColor($425E85);
  
clLightWood = TColor($A6C2E9);
  
clMediumWood = TColor($6480A6);
  
clNewTan = TColor($9EC7EB);
  
clSemiSweetChocolate = TColor($26426B);
  
clSienna = TColor($236B8E);
  
clWheat = TColor($BFD8D8);
  
clBrass = TColor($42A6B5);
  
clBronze = TColor($53788C);
  
clBronzeII = TColor($3D7DA6);
  
clCoolCopper = TColor($1987D9);
  
clCopper = TColor($3373B8);
  
clQuartz = TColor($F3D9D9);
  
clFieldSpar = TColor($7592D1);
  
clGoldenrod = TColor($70DBDB);
  
clMediumGoldenrod = TColor($AEEAEA);
  
clBrightGold = TColor($19D9D9);
  
clGold = TColor($327FCD);
  
clOldGold = TColor($3BB5CF);
  
clCoral = TColor($007FFF);
  
clFirebrick = TColor($23238E);
  
clIndianRed = TColor($2F2F4E);
  
clMandarianOrange = TColor($3378E4);
  
clMediumVioletRed = TColor($9370DB);
  
clNeonPink = TColor($C76EFF);
  
clOrangeRed = TColor($0024FF);
  
clScarlet = TColor($17178C);
  
clSpicyPink = TColor($AE1CFF);
  
clThistle = TColor($D8BFD8);
  
clVioletRed = TColor($9932CC);
  
clDarkOliveGreen = TColor($2F4F4F);
  
clForestGreen = TColor($238E23);
  
clHunterGreen = TColor($215E21);
  
clMediumForestGreen = TColor($238E6B);
  
clMediumSeaGreen = TColor($426F42);
  
clMediumSpringGreen = TColor($00FF7F);
  
clPaleGreen = TColor($8FBC8F);
  
clSeaGreen = TColor($688E23);
  
clSpringGreen = TColor($7FFF00);
  
clYellowGreen = TColor($32CC99);
  
clAquamarine = TColor($93DB70);
  
clCadetBlue = TColor($9F9F5F);
  
clCornFlowerBlue = TColor($6F4242);
  
clDarkTurquoise = TColor($DB9370);
  
clLightBlue = TColor($D9D9C0);
  
clLightSteelBlue = TColor($BD8F8F);
  
clMediumAquamarine = TColor($99CD32);
  
clMediumBlue = TColor($CD3232);
  
clMediumTurquoise = TColor($DBDB70);
  
clMidnightBlue = TColor($4F2F2F);
  
clNeonBlue = TColor($FF4D4D);
  
clNewMidnightBlue = TColor($9C0000);
  
clRichBlue = TColor($AB5959);
  
clSlateBlue = TColor($FF7F00);
  
clSteelBlue = TColor($8E6B23);
  
clSummerSky = TColor($DEB038);
  
clTurquoise = TColor($EAEAAD);
  
clBlueViolet = TColor($9F5F9F);
  
clOrchid = TColor($DB70DB);
  
clDarkPurple = TColor($781F87);
  
clViolet = TColor($4F2F4F);
  
clDarkOrchid = TColor($CD3299);
  
clMediumSlateBlue = TColor($007FFF);
  
clDarkSlateBlue = TColor($8E236B);
  
clMediumOrchid = TColor($DB7093);

implementation

end
.







Here Is an example of the color codes :-























White, Black
and Gray Shades
Yellows Reds Greens Blues Violets























































































      White        RGB=#FFFFFF
  Black       RGB=#000000
  size="-1">  Baker's Chocolate       RGB=#5C3317
    Brown       RGB=#A62A2A
    Dark Brown       RGB=#5C4033
    Dark Slate Grey       RGB=#2F4F4F
    Dark Tan       RGB=#97694F
    Dark Wood       RGB=#855E42
    Dim Grey       RGB=#545454
     Grey       RGB=#C0C0C0
     Light Grey       RGB=#A8A8A8
      Light Wood       RGB=#E9C2A6
      Medium Wood       RGB=#A68064
      New Tan       RGB=#EBC79E
      Quartz       RGB=#D9D9F3
      Semi-Sweet Chocolate       RGB=#6B4226
      Sienna       RGB=#8E6B23
      Silver       RGB=#E6E8FA
      Tan       RGB=#DB9370
      Very Dark Brown       RGB=#5C4033
      Very Light Grey       RGB=#CDCDCD
      Wheat       RGB=#D8D8BF







































  Yellow       RGB=#FFFF00
    Brass       RGB=#B5A642
    Bright Gold       RGB=#D9D919
    Bronze       RGB=#8C7853
    Bronze II       RGB=#A67D3D
    Cool Copper       RGB=#D98719
    Copper       RGB=#B87333
    Feldspar       RGB=#D19275
    Gold       RGB=#CD7F32
     Goldenrod       RGB=#DBDB70
      Medium Goldenrod       RGB=#EAEAAE
      Old Gold       RGB=#CFB53B
  
  
















































































      Red       RGB=#FF0000
  Magenta       RGB=#FF00FF
    Coral       RGB=#FF7F00
    Dusty Rose       RGB=#856363
    Feldspar       RGB=#D19275
    Firebrick       RGB=#8E2323
     Indian Red       RGB=#4E2F2F
      Mandarian Orange       RGB=#E47833
      Maroon       RGB=#8E236B
      Medium Violet Red       RGB=#DB7093
      Neon Pink       RGB=#FF6EC7
      Orange       RGB=#FF7F00
      Orange Red       RGB=#FF2400
      Pink       RGB=#BC8F8F
      Scarlet       RGB=#8C1717
      Spicy Pink       RGB=#FF1CAE
      Thistle       RGB=#D8BFD8
      Violet Red       RGB=#CC3299
  






























































  Green       RGB=#00FF00
    Dark Green       RGB=#2F4F2F
    Dark Olive Green       RGB=#4F4F2F
    Forest Green       RGB=#238E23
     Hunter Green       RGB=#215E21
     Khaki       RGB=#9F9F5F
      Lime Green       RGB=#32CD32
      Medium Forest Green       RGB=#6B8E23
      Medium Sea Green       RGB=#426F42
      Medium Spring Green       RGB=#7FFF00
      Pale Green       RGB=#8FBC8F
      Sea Green       RGB=#238E68
      Spring Green       RGB=#00FF7F
        Yellow Green       RGB=#99CC32



















































































  Blue       RGB=#0000FF
  Cyan       RGB=#00FFFF
  Aquamarine       RGB=#70DB93
    Cadet Blue       RGB=#5F9F9F
    Corn Flower Blue       RGB=#42426F
    Dark Turquoise       RGB=#7093DB
     Light Blue       RGB=#C0D9D9
     Light Steel Blue       RGB=#8F8FBD
      Medium Aquamarine       RGB=#32CD99
      Medium Blue       RGB=#3232CD
      Medium Turquoise       RGB=#70DBDB
      Midnight Blue       RGB=#2F2F4F
      Navy Blue       RGB=#23238E
      Neon Blue       RGB=#4D4DFF
      New Midnight Blue       RGB=#00009C
      Rich Blue       RGB=#5959AB
      Sky Blue       RGB=#3299CC
      Slate Blue       RGB=#007FFF
      Steel Blue       RGB=#236B8E
      Summer Sky       RGB=#38B0DE
      Turquoise       RGB=#ADEAEA


































    Blue Violet       RGB=#9F5F9F
      Orchid       RGB=#DB70DB
    Dark Purple       RGB=#871F78
      Violet       RGB=#4F2F4F
    Dark Orchid       RGB=#9932CD
      Medium Slate Blue       RGB=#7F00FF
    Dark Slate Blue       RGB=#6B238E
      Medium Orchid       RGB=#9370DB






Please rate this article!
Skill level:
BeginnerExpert

Useful:
No!Very!

Overall rating:
PoorExcellent



Comments to this article
Write a new comment
More color (GdiPlus)
    Jacco Kulman (Feb 28 2002 8:37PM)

I was porting some GdiPlus stuff and this is from my GdiPlusColor.pas unit. Might be useful. These are the official GdiPlus "known" colors. I have the complete unit here... shall I Email it?

... list starts at 1
clrFirebrick              =  70;
clrFloralWhite            =  71;
clrForestGreen            =  72;
clrFuchsia                =  73;
clrGainsboro              =  74;
clrGhostWhite             =  75;
clrGold                   =  76;
clrGoldenrod              =  77;
clrGray                   =  78;
clrGreen                  =  79;
clrGreenYellow            =  80;
clrHoneydew               =  81;
clrHotPink                =  82;
clrIndianRed              =  83;
clrIndigo                 =  84;
clrIvory                  =  85;
clrKhaki                  =  86;
clrLavender               =  87;
clrLavenderBlush          =  88;
clrLawnGreen              =  89;
clrLemonChiffon           =  90;
... list goes on until 167

Regards Jacco

Respond

Nice article
    Steven van Els (Feb 27 2002 5:39AM)

Handy if you need to construct a graph in run time. I only know by head clred, clgreen, clblack etc.
Respond

One missing?
    Jos Visser (Feb 25 2002 4:48PM)

Do you have the value of COLOR_MENUHIGHLIGHT, the new Xp fancy color taht shows up purple in Windows other than Xp?

Jos
Respond

visualize the colors
    Andreas Schmidt (Feb 22 2002 11:53AM)

Could you modify your HTML-code to display
the real colors, so that everyone can see what
"clSpicyPink" looks like ?

Respond

RE: visualize the colors
Stewart Moss (Feb 22 2002 12:12PM)

Ok Will Do
----------------
Respond














 
Sign up to consume product discounts for Bronze memberships !

read more


   


  Community Ad of
D. Souchard
 
   














 







     
  Copyright © 2000 - 2007 delphi3000.com - All rights reserved. Terms of use. || Privacy
delphi3000.com is a service by bluestep.com IT-Services GmbH (Vienna)