본문 바로가기

개발/알고리즘

Visual c++용 색상정보 제공

윈도우즈 프로그램에서 사용할 수 있는 100가지 색상 정보 헤더파일

color.h
 

#define White				RGB(0xff,0xff,0xff)
#define Red				RGB(0xff,0x00,0x00)
#define Green				RGB(0x00,0xff,0x00)
#define Blue				RGB(0x00,0x00,0xff)
#define Magenta				RGB(0xff,0x00,0xff)
#define Cyan				RGB(0x00,0xff,0xff)
#define Yellow				RGB(0xff,0xff,0x00)
#define Black				RGB(0x00,0x00,0x00)
#define Aquamarine			RGB(0x70,0xdb,0x93)
#define BakerChocolate			RGB(0x5c,0x33,0x17)
#define BlueViolet			RGB(0x9f,0x5f,0x9f)
#define Brass				RGB(0xb5,0xa6,0x42)
#define BrightGold			RGB(0xd9,0xd9,0x19)
#define Brown				RGB(0xa6,0x2a,0x2a)
#define Bronze				RGB(0x8c,0x78,0x53)
#define Bronze2				RGB(0xa6,0x7d,0x3d)
#define CadetBlue			RGB(0x5f,0x9f,0x9f)
#define CoolCopper			RGB(0xd9,0x87,0x19)
#define Copper				RGB(0xb8,0x73,0x33)
#define Coral				RGB(0xff,0x7f,0x00)
#define CornFlowerBlue			RGB(0x42,0x42,0x6f)
#define DarkBrown			RGB(0x5c,0x40,0x33)
#define DarkGreen			RGB(0x2f,0x4f,0x2f)
#define DarkGreenCopper			RGB(0x4a,0x76,0x6e)
#define DarkOliveGreen			RGB(0x4f,0x4f,0x2f)
#define DarkOrchid			RGB(0x99,0x32,0xcd)
#define DarkPurple			RGB(0x87,0x1f,0x78)
#define DarkSlateBlue			RGB(0x6b,0x23,0x8e)
#define DarkSlateGrey			RGB(0x2f,0x4f,0x4f)
#define DarkTan				RGB(0x97,0x69,0x4f)
#define DarkTurquoise			RGB(0x70,0x93,0xdb)
#define DarkWood			RGB(0x85,0x5e,0x42)
#define DimGrey				RGB(0x54,0x54,0x54)
#define DustyRose			RGB(0x85,0x63,0x63)
#define Feldspar			RGB(0xd1,0x92,0x75)
#define Firebrick			RGB(0x8e,0x23,0x23)
#define Flesh				RGB(0xf5,0xcc,0xb0)
#define ForestGreen			RGB(0x23,0x8e,0x23)
#define Gold				RGB(0xcd,0x7f,0x32)
#define Goldenrod			RGB(0xdb,0xdb,0x70)
#define Grey				RGB(0xc0,0xc0,0xc0)
#define GreenCopper			RGB(0x52,0x7f,0x76)
#define GreenYellow			RGB(0x93,0xdb,0x70)
#define HunterGreen			RGB(0x21,0x5e,0x21)
#define IndianRed			RGB(0x4e,0x2f,0x2f)
#define Khaki				RGB(0x9f,0x9f,0x5f)
#define LightBlue			RGB(0xc0,0xd9,0xd9)
#define LightGrey			RGB(0xa8,0xa8,0xa8)
#define LightSteelBlue			RGB(0x8f,0x8f,0xbd)
#define Maroon				RGB(0x8e,0x23,0x6b)
#define MediumAquamarine		RGB(0x32,0xcd,0x99)
#define MediumBlue			RGB(0x32,0x32,0xcd)
#define MediumForestGreen 		RGB(0x6b,0x8e,0x23)
#define MediumGoldenrod 		RGB(0xea,0xea,0xae)
#define MediumOrchid			RGB(0x93,0x70,0xdb)
#define MediumSeaGreen			RGB(0x42,0x6f,0x42)
#define MediumSlateBlue 		RGB(0x7f,0x00,0xff)
#define MediumSpringGreen 		RGB(0x7f,0xff,0x00)
#define MediumTurquoise 		RGB(0x70,0xdb,0xdb)
#define MediumVioletRed 		RGB(0xdb,0x70,0x93)
#define MediumWood			RGB(0xa6,0x80,0x64)
#define MidnightBlue			RGB(0x2f,0x2f,0x4f)
#define NavyBlue			RGB(0x23,0x23,0x8e)
#define NeonBlue			RGB(0x4d,0x4d,0xff)
#define NeonPink			RGB(0xff,0x6e,0xc7)
#define NewMidnightBlue 		RGB(0x00,0x00,0x9c)
#define NewTan				RGB(0xeb,0xc7,0x9e)
#define OldGold				RGB(0xcf,0xb5,0x3b)
#define Orange				RGB(0xff,0x7f,0x00)
#define OrangeRed			RGB(0xff,0x24,0x00)
#define Orchid				RGB(0xdb,0x70,0xdb)
#define PaleGreen			RGB(0x8f,0xbc,0x8f)
#define Pink				RGB(0xbc,0x8f,0x8f)
#define Plum				RGB(0xea,0xad,0xea)
#define Quartz				RGB(0xd9,0xd9,0xf3)
#define RichBlue			RGB(0x59,0x59,0xab)
#define Salmon				RGB(0x6f,0x42,0x42)
#define Scarlet				RGB(0x8c,0x17,0x17)
#define SeaGreen			RGB(0x23,0x8e,0x68)
#define SemiSweetChocolate 		RGB(0x6b,0x42,0x26)
#define Sienna				RGB(0x8e,0x6b,0x23)
#define Silver				RGB(0xe6,0xe8,0xfa)
#define SkyBlue				RGB(0x32,0x99,0xcc)
#define SlateBlue			RGB(0x00,0x7f,0xff)
#define SpicyPink			RGB(0xff,0x1c,0xae)
#define SpringGreen			RGB(0x00,0xff,0x7f)
#define SteelBlue			RGB(0x23,0x6b,0x8e)
#define SummerSky			RGB(0x38,0xb0,0xde)
#define Tan				RGB(0xdb,0x93,0x70)
#define Thistle				RGB(0xd8,0xbf,0xd8)
#define Turquoise			RGB(0xad,0xea,0xea)
#define VeryDarkBrown			RGB(0x5c,0x40,0x33)
#define VeryLightGrey			RGB(0xcd,0xcd,0xcd)
#define Violet				RGB(0x4f,0x2f,0x4f)
#define VioletRed			RGB(0xcc,0x32,0x99)
#define Wheat				RGB(0xd8,0xd8,0xbf)
#define LightWood			RGB(0xe9,0xc2,0xa6)
#define LimeGreen			RGB(0x32,0xcd,0x32) 
#define MandarianOrange RGB(0xe4,0x78,0x33) 

'개발 > 알고리즘' 카테고리의 다른 글

Screen recorder in JS  (0) 2017.04.01
cd,wav,mid,avi 플레이어  (0) 2011.12.13
행렬의 주요 연산  (0) 2011.12.13
선형 함수의 해법  (0) 2011.12.13
비선형 함수의 해법  (0) 2011.12.13