您的位置:首页 > 其它

资料: 颜色RGB基础定义

2017-07-25 12:00 288 查看
版权声明:

[cpp]
view plain
copy

print?

// experiment_ColorRef.cpp : Defines the entry point for the console application.  
//  
#include "stdafx.h"  
#include <crtdbg.h>  
#include "LsColorRefDefine.h"  
/** 
* 如果要使用名字空间nsls 
* 在编译器Options设置 USE_NAMESPACE_ON_LOSTSPEED 
*/  
  
int fnTestUse();  
int main(int argc, char * argv[])  
{  
    fnTestUse();  
    getchar();  
    return 0;  
}  
int fnTestUse()  
{  
    printf("COLORREF基础值定义/n");  
    //RGB(255, 228, 196), // bisque rgb(255, 228, 196)  
    COLORREF clrBisque = LSREF g_LsAllColorRef[6];//bisque rgb's pos is 6 at g_LsAllColorRef  
    printf("COLORREF基础值取值和校验/n");  
    if(clrBisque != RGB(255, 228, 196))  
    {  
        printf("some error happen/n");  
        _ASSERT(0);  
   
4000
 }  
    printf("/nCOLORREF基础值数组尺寸列表/n");  
    size_t stLsAllColorRef = sizeof(LSREF g_LsAllColorRef) / sizeof(COLORREF);  
    size_t stLsBuleColorRef = sizeof(LSREF g_LsBuleColorRef) / sizeof(COLORREF);  
    size_t stLsBrownColorRef = sizeof(LSREF g_LsBrownColorRef) / sizeof(COLORREF);  
    size_t stLsCyanColorRef = sizeof(LSREF g_LsCyanColorRef) / sizeof(COLORREF);  
    size_t stLsGreenColorRef = sizeof(LSREF g_LsGreenColorRef) / sizeof(COLORREF);  
    size_t stLsGrayColorRef = sizeof(LSREF g_LsGrayColorRef) / sizeof(COLORREF);  
    size_t stLsDarkColorRef = sizeof(LSREF g_LsDarkRedColorRef) / sizeof(COLORREF);  
    size_t stLsOrangeColorRef = sizeof(LSREF g_LsOrangeColorRef) / sizeof(COLORREF);  
    size_t stLsRedColorRef = sizeof(LSREF g_LsRedColorRef) / sizeof(COLORREF);  
    size_t stLsWhiteColorRef = sizeof(LSREF g_LsWhiteColorRef) / sizeof(COLORREF);  
    size_t stLsYellowColorRef = sizeof(LSREF g_LsYellowColorRef) / sizeof(COLORREF);  
    size_t stLsMetalColorRef = sizeof(LSREF g_LsMetalColorRef) / sizeof(COLORREF);  
    printf("%s[%d]/n/  
%s[%d]/n/  
%s[%d]/n/  
%s[%d]/n/  
%s[%d]/n/  
%s[%d]/n/  
%s[%d]/n/  
%s[%d]/n/  
%s[%d]/n/  
%s[%d]/n/  
%s[%d]/n/  
%s[%d]/n",  
           "g_LsAllColorRef",     stLsAllColorRef,  
           "g_LsBuleColorRef",    stLsBuleColorRef,  
           "g_LsBrownColorRef",   stLsBrownColorRef,  
           "g_LsCyanColorRef",    stLsCyanColorRef,  
           "g_LsGreenColorRef",   stLsGreenColorRef,  
           "g_LsGrayColorRef",    stLsGrayColorRef,  
           "g_LsDarkRedColorRef", stLsDarkColorRef,  
           "g_LsOrangeColorRef",  stLsOrangeColorRef,  
           "g_LsRedColorRef",     stLsRedColorRef,  
           "g_LsWhiteColorRef",   stLsWhiteColorRef,  
           "g_LsYellowColorRef",  stLsYellowColorRef,  
           "g_LsMetalColorRef",   stLsMetalColorRef);  
    /** run results 
    COLORREF基础值定义 
    COLORREF基础值取值和校验 
    COLORREF基础值数组尺寸列表 
    g_LsAllColorRef[147] 
    g_LsBuleColorRef[14] 
    g_LsBrownColorRef[13] 
    g_LsCyanColorRef[4] 
    g_LsGreenColorRef[14] 
    g_LsGrayColorRef[4] 
    g_LsDarkRedColorRef[7] 
    g_LsOrangeColorRef[4] 
    g_LsRedColorRef[12] 
    g_LsWhiteColorRef[18] 
    g_LsYellowColorRef[8] 
    g_LsMetalColorRef[8] 
    */  
    return S_OK;  
}   

// experiment_ColorRef.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <crtdbg.h>
#include "LsColorRefDefine.h"
/**
* 如果要使用名字空间nsls
* 在编译器Options设置 USE_NAMESPACE_ON_LOSTSPEED
*/

int fnTestUse();
int main(int argc, char * argv[])
{
fnTestUse();
getchar();
return 0;
}
int fnTestUse()
{
printf("COLORREF基础值定义/n");
//RGB(255, 228, 196), // bisque rgb(255, 228, 196)
COLORREF clrBisque = LSREF g_LsAllColorRef[6];//bisque rgb's pos is 6 at g_LsAllColorRef
printf("COLORREF基础值取值和校验/n");
if(clrBisque != RGB(255, 228, 196))
{
printf("some error happen/n");
_ASSERT(0);
}
printf("/nCOLORREF基础值数组尺寸列表/n");
size_t stLsAllColorRef = sizeof(LSREF g_LsAllColorRef) / sizeof(COLORREF);
size_t stLsBuleColorRef = sizeof(LSREF g_LsBuleColorRef) / sizeof(COLORREF);
size_t stLsBrownColorRef = sizeof(LSREF g_LsBrownColorRef) / sizeof(COLORREF);
size_t stLsCyanColorRef = sizeof(LSREF g_LsCyanColorRef) / sizeof(COLORREF);
size_t stLsGreenColorRef = sizeof(LSREF g_LsGreenColorRef) / sizeof(COLORREF);
size_t stLsGrayColorRef = sizeof(LSREF g_LsGrayColorRef) / sizeof(COLORREF);
size_t stLsDarkColorRef = sizeof(LSREF g_LsDarkRedColorRef) / sizeof(COLORREF);
size_t stLsOrangeColorRef = sizeof(LSREF g_LsOrangeColorRef) / sizeof(COLORREF);
size_t stLsRedColorRef = sizeof(LSREF g_LsRedColorRef) / sizeof(COLORREF);
size_t stLsWhiteColorRef = sizeof(LSREF g_LsWhiteColorRef) / sizeof(COLORREF);
size_t stLsYellowColorRef = sizeof(LSREF g_LsYellowColorRef) / sizeof(COLORREF);
size_t stLsMetalColorRef = sizeof(LSREF g_LsMetalColorRef) / sizeof(COLORREF);
printf("%s[%d]/n/
%s[%d]/n/
%s[%d]/n/
%s[%d]/n/
%s[%d]/n/
%s[%d]/n/
%s[%d]/n/
%s[%d]/n/
%s[%d]/n/
%s[%d]/n/
%s[%d]/n/
%s[%d]/n",
"g_LsAllColorRef",     stLsAllColorRef,
"g_LsBuleColorRef",    stLsBuleColorRef,
"g_LsBrownColorRef",   stLsBrownColorRef,
"g_LsCyanColorRef",    stLsCyanColorRef,
"g_LsGreenColorRef",   stLsGreenColorRef,
"g_LsGrayColorRef",    stLsGrayColorRef,
"g_LsDarkRedColorRef", stLsDarkColorRef,
"g_LsOrangeColorRef",  stLsOrangeColorRef,
"g_LsRedColorRef",     stLsRedColorRef,
"g_LsWhiteColorRef",   stLsWhiteColorRef,
"g_LsYellowColorRef",  stLsYellowColorRef,
"g_LsMetalColorRef",   stLsMetalColorRef);
/** run results
COLORREF基础值定义
COLORREF基础值取值和校验
COLORREF基础值数组尺寸列表
g_LsAllColorRef[147]
g_LsBuleColorRef[14]
g_LsBrownColorRef[13]
g_LsCyanColorRef[4]
g_LsGreenColorRef[14]
g_LsGrayColorRef[4]
g_LsDarkRedColorRef[7]
g_LsOrangeColorRef[4]
g_LsRedColorRef[12]
g_LsWhiteColorRef[18]
g_LsYellowColorRef[8]
g_LsMetalColorRef[8]
*/
return S_OK;
} 


[cpp]
view plain
copy

print?

/** 
* @file LsColorRefDefine.h 
* @note 
* original data from: http://hi.baidu.com/ganxuequan/blog/item/e8412d30374fed93a9018e94.html 
*/  
#ifndef _LS_COLOR_REF_DEFINE_H_  
#define _LS_COLOR_REF_DEFINE_H_  
#include <WTypes.h>  
#ifdef USE_NAMESPACE_ON_LOSTSPEED  
#define NS_LOSTSPEED LostSpeed  
#define LSREF NS_LOSTSPEED::   
#define USING_NSLS using NS_LOSTSPEED;  
#else  
#define NS_LOSTSPEED  
#define LSREF  
#define USING_NSLS  
#endif  
#ifdef USE_NAMESPACE_ON_LOSTSPEED  
namespace NS_LOSTSPEED  
{  
#endif  
    /** 
    * 定义的颜色系列如下 
    * COLORREF const g_LsAllColorRef[]; 
    * COLORREF const g_LsBuleColorRef[]; 
    * COLORREF const g_LsBrownColorRef[]; 
    * COLORREF const g_LsCyanColorRef[]; 
    * COLORREF const g_LsGreenColorRef[]; 
    * COLORREF const g_LsGrayColorRef[]; 
    * COLORREF const g_LsDarkRedColorRef[]; 
    * COLORREF const g_LsOrangeColorRef[]; 
    * COLORREF const g_LsRedColorRef[]; 
    * COLORREF const g_LsWhiteColorRef[]; 
    * COLORREF const g_LsYellowColorRef[]; 
    * COLORREF const g_LsMetalColorRef[]; 
    */  
    /** 
    aliceblue rgb(240, 248, 255) 
    antiquewhite rgb(250, 235, 215) 
    aqua rgb( 0, 255, 255) 
    aquamarine rgb(127, 255, 212) 
    azure rgb(240, 255, 255) 
    beige rgb(245, 245, 220) 
    bisque rgb(255, 228, 196) 
    black rgb( 0, 0, 0) 
    blanchedalmond rgb(255, 235, 205) 
    blue rgb( 0, 0, 255) 
    blueviolet rgb(138, 43, 226) 
    brown rgb(165, 42, 42) 
    burlywood rgb(222, 184, 135) 
    cadetblue rgb( 95, 158, 160) 
    chartreuse rgb(127, 255, 0) 
    chocolate rgb(210, 105, 30) 
    coral rgb(255, 127, 80) 
    cor
18dec
nflowerblue rgb(100, 149, 237) 
    cornsilk rgb(255, 248, 220) 
    crimson rgb(220, 20, 60) 
    cyan rgb( 0, 255, 255) 
    darkblue rgb( 0, 0, 139) 
    darkcyan rgb( 0, 139, 139) 
    darkgoldenrod rgb(184, 134, 11) 
    darkgray rgb(169, 169, 169) 
    darkgreen rgb( 0, 100, 0) 
    darkgrey rgb(169, 169, 169) 
    darkkhaki rgb(189, 183, 107) 
    darkmagenta rgb(139, 0, 139) 
    darkolivegreen rgb( 85, 107, 47) 
    darkorange rgb(255, 140, 0) 
    darkorchid rgb(153, 50, 204) 
    darkred rgb(139, 0, 0) 
    darksalmon rgb(233, 150, 122) 
    darkseagreen rgb(143, 188, 143) 
    darkslateblue rgb( 72, 61, 139) 
    darkslategray rgb( 47, 79, 79) 
    darkslategrey rgb( 47, 79, 79) 
    darkturquoise rgb( 0, 206, 209) 
    darkviolet rgb(148, 0, 211) 
    deeppink rgb(255, 20, 147) 
    deepskyblue rgb( 0, 191, 255) 
    dimgray rgb(105, 105, 105) 
    dimgrey rgb(105, 105, 105) 
    dodgerblue rgb( 30, 144, 255) 
    firebrick rgb(178, 34, 34) 
    floralwhite rgb(255, 250, 240) 
    forestgreen rgb( 34, 139, 34) 
    fuchsia rgb(255, 0, 255) 
    gainsboro rgb(220, 220, 220) 
    ghostwhite rgb(248, 248, 255) 
    gold rgb(255, 215, 0) 
    goldenrod rgb(218, 165, 32) 
    gray rgb(128, 128, 128) 
    grey rgb(128, 128, 128) 
    green rgb( 0, 128, 0) 
    greenyellow rgb(173, 255, 47) 
    honeydew rgb(240, 255, 240) 
    hotpink rgb(255, 105, 180) 
    indianred rgb(205, 92, 92) 
    indigo rgb( 75, 0, 130) 
    ivory rgb(255, 255, 240) 
    khaki rgb(240, 230, 140) 
    lavender rgb(230, 230, 250) 
    lavenderblush rgb(255, 240, 245) 
    lawngreen rgb(124, 252, 0) 
    lemonchiffon rgb(255, 250, 205) 
    lightblue rgb(173, 216, 230) 
    lightcoral rgb(240, 128, 128) 
    lightcyan rgb(224, 255, 255) 
    lightgoldenrodyellow rgb(250, 250, 210) 
    lightgray rgb(211, 211, 211) 
    lightgreen rgb(144, 238, 144) 
    lightgrey rgb(211, 211, 211) 
    lightpink rgb(255, 182, 193) 
    lightsalmon rgb(255, 160, 122) 
    lightseagreen rgb( 32, 178, 170) 
    lightskyblue rgb(135, 206, 250) 
    lightslategray rgb(119, 136, 153) 
    lightslategrey rgb(119, 136, 153) 
    lightsteelblue rgb(176, 196, 222) 
    lightyellow rgb(255, 255, 224) 
    lime rgb( 0, 255, 0) 
    limegreen rgb( 50, 205, 50) 
    linen rgb(250, 240, 230) 
    magenta rgb(255, 0, 255) 
    maroon rgb(128, 0, 0) 
    mediumaquamarine rgb(102, 205, 170) 
    mediumblue rgb( 0, 0, 205) 
    mediumorchid rgb(186, 85, 211) 
    mediumpurple rgb(147, 112, 219) 
    mediumseagreen rgb( 60, 179, 113) 
    mediumslateblue rgb(123, 104, 238) 
    mediumspringgreen rgb( 0, 250, 154) 
    mediumturquoise rgb( 72, 209, 204) 
    mediumvioletred rgb(199, 21, 133) 
    midnightblue rgb( 25, 25, 112) 
    mintcream rgb(245, 255, 250) 
    mistyrose rgb(255, 228, 225) 
    moccasin rgb(255, 228, 181) 
    navajowhite rgb(255, 222, 173) 
    navy rgb( 0, 0, 128) 
    oldlace rgb(253, 245, 230) 
    olive rgb(128, 128, 0) 
    olivedrab rgb(107, 142, 35) 
    orange rgb(255, 165, 0) 
    orangered rgb(255, 69, 0) 
    orchid rgb(218, 112, 214) 
    palegoldenrod rgb(238, 232, 170) 
    palegreen rgb(152, 251, 152) 
    paleturquoise rgb(175, 238, 238) 
    palevioletred rgb(219, 112, 147) 
    papayawhip rgb(255, 239, 213) 
    peachpuff rgb(255, 218, 185) 
    peru rgb(205, 133, 63) 
    pink rgb(255, 192, 203) 
    plum rgb(221, 160, 221) 
    powderblue rgb(176, 224, 230) 
    purple rgb(128, 0, 128) 
    red rgb(255, 0, 0) 
    rosybrown rgb(188, 143, 143) 
    royalblue rgb( 65, 105, 225) 
    saddlebrown rgb(139, 69, 19) 
    salmon rgb(250, 128, 114) 
    sandybrown rgb(244, 164, 96) 
    seagreen rgb( 46, 139, 87) 
    seashell rgb(255, 245, 238) 
    sienna rgb(160, 82, 45) 
    silver rgb(192, 192, 192) 
    skyblue rgb(135, 206, 235) 
    slateblue rgb(106, 90, 205) 
    slategray rgb(112, 128, 144) 
    slategrey rgb(112, 128, 144) 
    snow rgb(255, 250, 250) 
    springgreen rgb( 0, 255, 127) 
    steelblue rgb( 70, 130, 180) 
    tan rgb(210, 180, 140) 
    teal rgb( 0, 128, 128) 
    thistle rgb(216, 191, 216) 
    tomato rgb(255, 99, 71) 
    turquoise rgb( 64, 224, 208) 
    violet rgb(238, 130, 238) 
    wheat rgb(245, 222, 179) 
    white rgb(255, 255, 255) 
    whitesmoke rgb(245, 245, 245) 
    yellow rgb(255, 255, 0) 
    yellowgreen rgb(154, 205, 50) 
    */  
    COLORREF const g_LsAllColorRef[] =  
    {  
        RGB(240, 248, 255), // aliceblue rgb(240, 248, 255)  
        RGB(250, 235, 215), // antiquewhite rgb(250, 235, 215)  
        RGB(0, 255, 255), // aqua rgb( 0, 255, 255)  
        RGB(127, 255, 212), // aquamarine rgb(127, 255, 212)  
        RGB(240, 255, 255), // azure rgb(240, 255, 255)  
        RGB(245, 245, 220), // beige rgb(245, 245, 220)  
        RGB(255, 228, 196), // bisque rgb(255, 228, 196)  
        RGB(0, 0, 0), // black rgb( 0, 0, 0)  
        RGB(255, 235, 205), // blanchedalmond rgb(255, 235, 205)  
        RGB(0, 0, 255), // blue rgb( 0, 0, 255)  
        RGB(138, 43, 226), // blueviolet rgb(138, 43, 226)  
        RGB(165, 42, 42), // brown rgb(165, 42, 42)  
        RGB(222, 184, 135), // burlywood rgb(222, 184, 135)  
        RGB(95, 158, 160), // cadetblue rgb( 95, 158, 160)  
        RGB(27, 255, 0), // chartreuse rgb(127, 255, 0)  
        RGB(210, 105, 30), // chocolate rgb(210, 105, 30)  
        RGB(255, 127, 80), // coral rgb(255, 127, 80)  
        RGB(100, 149, 237), // cornflowerblue rgb(100, 149, 237)  
        RGB(255, 248, 220), // cornsilk rgb(255, 248, 220)  
        RGB(220, 20, 60), // crimson rgb(220, 20, 60)  
        RGB(0, 255, 255), // cyan rgb( 0, 255, 255)  
        RGB(0, 0, 139), // darkblue rgb( 0, 0, 139)  
        RGB(0, 139, 139), // darkcyan rgb( 0, 139, 139)  
        RGB(184, 134, 11), // darkgoldenrod rgb(184, 134, 11)  
        RGB(169, 169, 169), // darkgray rgb(169, 169, 169)  
        RGB(0, 100, 0), // darkgreen rgb( 0, 100, 0)  
        RGB(169, 169, 169), // darkgrey rgb(169, 169, 169)  
        RGB(189, 183, 107), // darkkhaki rgb(189, 183, 107)  
        RGB(139, 0, 139), // darkmagenta rgb(139, 0, 139)  
        RGB(85, 107, 47), // darkolivegreen rgb( 85, 107, 47)  
        RGB(255, 140, 0), // darkorange rgb(255, 140, 0)  
        RGB(153, 50, 204), // darkorchid rgb(153, 50, 204)  
        RGB(139, 0, 0), // darkred rgb(139, 0, 0)  
        RGB(233, 150, 122), // darksalmon rgb(233, 150, 122)  
        RGB(143, 188, 143), // darkseagreen rgb(143, 188, 143)  
        RGB(72, 61, 139), // darkslateblue rgb( 72, 61, 139)  
        RGB(47, 79, 79), // darkslategray rgb( 47, 79, 79)  
        RGB(47, 79, 79), // darkslategrey rgb( 47, 79, 79)  
        RGB(0, 206, 209), // darkturquoise rgb( 0, 206, 209)  
        RGB(148, 0, 211), // darkviolet rgb(148, 0, 211)  
        RGB(255, 20, 147), // deeppink rgb(255, 20, 147)  
        RGB(0, 191, 255), // deepskyblue rgb( 0, 191, 255)  
        RGB(105, 105, 105), // dimgray rgb(105, 105, 105)  
        RGB(105, 105, 105), // dimgrey rgb(105, 105, 105)  
        RGB(30, 144, 255), // dodgerblue rgb( 30, 144, 255)  
        RGB(178, 34, 34), // firebrick rgb(178, 34, 34)  
        RGB(255, 250, 240), // floralwhite rgb(255, 250, 240)  
        RGB(34, 139, 34), // forestgreen rgb( 34, 139, 34)  
        RGB(255, 0, 255), // fuchsia rgb(255, 0, 255)  
        RGB(220, 220, 220), // gainsboro rgb(220, 220, 220)  
        RGB(248, 248, 255), // ghostwhite rgb(248, 248, 255)  
        RGB(255, 215, 0), // gold rgb(255, 215, 0)  
        RGB(218, 165, 32), // goldenrod rgb(218, 165, 32)  
        RGB(128, 128, 128), // gray rgb(128, 128, 128)  
        RGB(128, 128, 128), // grey rgb(128, 128, 128)  
        RGB(0, 128, 0), // green rgb( 0, 128, 0)  
        RGB(173, 255, 47), // greenyellow rgb(173, 255, 47)  
        RGB(240, 255, 240), // honeydew rgb(240, 255, 240)  
        RGB(255, 105, 180), // hotpink rgb(255, 105, 180)  
        RGB(205, 92, 92), // indianred rgb(205, 92, 92)  
        RGB(75, 0, 130), // indigo rgb( 75, 0, 130)  
        RGB(255, 255, 240), // ivory rgb(255, 255, 240)  
        RGB(240, 230, 140), // khaki rgb(240, 230, 140)  
        RGB(230, 230, 250), // lavender rgb(230, 230, 250)  
        RGB(255, 240, 245), // lavenderblush rgb(255, 240, 245)  
        RGB(124, 252, 0), // lawngreen rgb(124, 252, 0)  
        RGB(255, 250, 205), // lemonchiffon rgb(255, 250, 205)  
        RGB(173, 216, 230), // lightblue rgb(173, 216, 230)  
        RGB(240, 128, 128), // lightcoral rgb(240, 128, 128)  
        RGB(224, 255, 255), // lightcyan rgb(224, 255, 255)  
        RGB(250, 250, 210), // lightgoldenrodyellow rgb(250, 250, 210)  
        RGB(211, 211, 211), // lightgray rgb(211, 211, 211)  
        RGB(144, 238, 144), // lightgreen rgb(144, 238, 144)  
        RGB(211, 211, 211), // lightgrey rgb(211, 211, 211)  
        RGB(255, 182, 193), // lightpink rgb(255, 182, 193)  
        RGB(255, 160, 122), // lightsalmon rgb(255, 160, 122)  
        RGB(32, 178, 170), // lightseagreen rgb( 32, 178, 170)  
        RGB(135, 206, 250), // lightskyblue rgb(135, 206, 250)  
        RGB(119, 136, 153), // lightslategray rgb(119, 136, 153)  
        RGB(119, 136, 153), // lightslategrey rgb(119, 136, 153)  
        RGB(176, 196, 222), // lightsteelblue rgb(176, 196, 222)  
        RGB(255, 255, 224), // lightyellow rgb(255, 255, 224)  
        RGB(0, 255, 0), // lime rgb( 0, 255, 0)  
        RGB(50, 205, 50), // limegreen rgb( 50, 205, 50)  
        RGB(250, 240, 230), // linen rgb(250, 240, 230)  
        RGB(255, 0, 255), // magenta rgb(255, 0, 255)  
        RGB(128, 0, 0), // maroon rgb(128, 0, 0)  
        RGB(102, 205, 170), // mediumaquamarine rgb(102, 205, 170)  
        RGB(0, 0, 205),  // mediumblue rgb( 0, 0, 205)  
        RGB(186, 85, 211), // mediumorchid rgb(186, 85, 211)  
        RGB(147, 112, 219), // mediumpurple rgb(147, 112, 219)  
        RGB(60, 179, 113), // mediumseagreen rgb( 60, 179, 113)  
        RGB(123, 104, 238), // mediumslateblue rgb(123, 104, 238)  
        RGB(0, 250, 154), // mediumspringgreen rgb( 0, 250, 154)  
        RGB(72, 209, 204), // mediumturquoise rgb( 72, 209, 204)  
        RGB(199, 21, 133), // mediumvioletred rgb(199, 21, 133)  
        RGB(25, 25, 112), // midnightblue rgb( 25, 25, 112)  
        RGB(245, 255, 250), // mintcream rgb(245, 255, 250)  
        RGB(255, 228, 225), // mistyrose rgb(255, 228, 225)  
        RGB(255, 228, 181), // moccasin rgb(255, 228, 181)  
        RGB(255, 222, 173), // navajowhite rgb(255, 222, 173)  
        RGB(0, 0, 128), // navy rgb( 0, 0, 128)  
        RGB(253, 245, 230), // oldlace rgb(253, 245, 230)  
        RGB(128, 128, 0), // olive rgb(128, 128, 0)  
        RGB(107, 142, 35), // olivedrab rgb(107, 142, 35)  
        RGB(255, 165, 0), // orange rgb(255, 165, 0)  
        RGB(255, 69, 0), // orangered rgb(255, 69, 0)  
        RGB(218, 112, 214), // orchid rgb(218, 112, 214)  
        RGB(238, 232, 170), // palegoldenrod rgb(238, 232, 170)  
        RGB(152, 251, 152), // palegreen rgb(152, 251, 152)  
        RGB(175, 238, 238), // paleturquoise rgb(175, 238, 238)  
        RGB(219, 112, 147), // palevioletred rgb(219, 112, 147)  
        RGB(255, 239, 213), // papayawhip rgb(255, 239, 213)  
        RGB(255, 218, 185), // peachpuff rgb(255, 218, 185)  
        RGB(205, 133, 63), // peru rgb(205, 133, 63)  
        RGB(255, 192, 203), // pink rgb(255, 192, 203)  
        RGB(221, 160, 221), // plum rgb(221, 160, 221)  
        RGB(176, 224, 230), // powderblue rgb(176, 224, 230)  
        RGB(128, 0, 128), // purple rgb(128, 0, 128)  
        RGB(255, 0, 0), // red rgb(255, 0, 0)  
        RGB(188, 143, 143), // rosybrown rgb(188, 143, 143)  
        RGB(65, 105, 225), // royalblue rgb( 65, 105, 225)  
        RGB(139, 69, 19), // saddlebrown rgb(139, 69, 19)  
        RGB(250, 128, 114), // salmon rgb(250, 128, 114)  
        RGB(244, 164, 96), // sandybrown rgb(244, 164, 96)  
        RGB(46, 139, 87), // seagreen rgb( 46, 139, 87)  
        RGB(255, 245, 238), // seashell rgb(255, 245, 238)  
        RGB(160, 82, 45), // sienna rgb(160, 82, 45)  
        RGB(192, 192, 192), // silver rgb(192, 192, 192)  
        RGB(135, 206, 235), // skyblue rgb(135, 206, 235)  
        RGB(106, 90, 205), // slateblue rgb(106, 90, 205)  
        RGB(112, 128, 144), // slategray rgb(112, 128, 144)  
        RGB(112, 128, 144), // slategrey rgb(112, 128, 144)  
        RGB(255, 250, 250), // snow rgb(255, 250, 250)  
        RGB(0, 255, 127), // springgreen rgb( 0, 255, 127)  
        RGB(70, 130, 180), // steelblue rgb( 70, 130, 180)  
        RGB(210, 180, 140), // tan rgb(210, 180, 140)  
        RGB(0, 128, 128), // teal rgb( 0, 128, 128)  
        RGB(216, 191, 216), // thistle rgb(216, 191, 216)  
        RGB(255, 99, 71), // tomato rgb(255, 99, 71)  
        RGB(64, 224, 208), // turquoise rgb( 64, 224, 208)  
        RGB(238, 130, 238), // violet rgb(238, 130, 238)  
        RGB(245, 222, 179), // wheat rgb(245, 222, 179)  
        RGB(255, 255, 255), // white rgb(255, 255, 255)  
        RGB(245, 245, 245), // whitesmoke rgb(245, 245, 245)  
        RGB(255, 255, 0), // yellow rgb(255, 255, 0)  
        RGB(154, 205, 50), // yellowgreen rgb(154, 205, 50)  
    };  
    /** 
    RGB颜色参数 
    基本颜色:蓝色 
    ——————— 
    钴制深蓝; 60 90 170 
    闪蓝色 : 30 144 255 
    靛青 : 8 46 84 
    深蓝 : 25 25 112 
    藏青 : 0 0 28 
    菘蓝 : 131 147 202 
    孔雀蓝 : 50 160 200 
    浅灰蓝 : 176 224 230 
    品蓝 ; 65 105 225 
    暗蓝灰色: 106 90 205 
    天蓝 ; 135 206 235 
    钢青 : 70 130 180 
    纯蓝 : 0 0 255 
    绿松色 : 0 200 140 
    */  
    COLORREF const g_LsBuleColorRef[] =  
    {  
        RGB(60, 90, 170),  
        RGB(30, 144, 255),  
        RGB(8, 46, 84),  
        RGB(25, 25, 112),  
        RGB(0, 0, 28),  
        RGB(131, 147, 202),  
        RGB(50, 160, 200),  
        RGB(176, 224, 230),  
        RGB(65, 105, 225),  
        RGB(106, 90, 205),  
        RGB(135, 206, 235),  
        RGB(70, 130, 180),  
        RGB(0, 0, 255),  
        RGB(0, 200, 140),  
    };  
    /** 
    基本颜色; 褐色 
    ———————— 
    浅褐色 : 163 148 128 
    赭色 ; 138 54 15 
    红棕色 : 138 51 36 
    巧克力色: 210 105 30 
    黄褐色 : 240 230 140 
    生赭石黄: 199 97 20 
    生褐色 : 115 74 18 
    玫瑰红色: 188 143 143 
    马鞍色 : 139 69 19 
    棕褐色 : 94 38 18 
    沙色 : 160 92 45 
    茶色 ; 210 180 140 
    纯褐色 ; 128 42 42 
    */  
    COLORREF const g_LsBrownColorRef[] =  
    {  
        RGB(163, 148, 128),  
        RGB(138, 54, 15),  
        RGB(138, 51, 36),  
        RGB(210, 105, 30),  
        RGB(240, 230, 140),  
        RGB(199, 97, 20),  
        RGB(115, 74, 18),  
        RGB(188, 143, 143),  
        RGB(139, 69, 19),  
        RGB(94, 38, 18),  
        RGB(160, 92, 45),  
        RGB(210, 180, 140),  
        RGB(128, 42, 42),  
    };  
    /** 
    基本颜色: 青色 
    ———————— 
    碧绿色 : 127 255 212 
    浅绿色 ; 109 207 246 
    纯青色 : 0 255 255 
    青绿色 ; 64 244 208 
    */  
    COLORREF const g_LsCyanColorRef[] =  
    {  
        RGB(127, 255, 212),  
        RGB(109, 207, 246),  
        RGB(0, 255, 255),  
        RGB(64, 244, 208),  
    };  
    /** 
    基本颜色: 绿色 
    ———————— 
    黄绿色 : 127 255 0 
    钴制深蓝: 61 145 64 
    翠绿色 : 0 201 87 
    森林绿 ; 34 139 34 
    草坪绿 ; 124 252 0 
    酸橙绿 ; 50 205 50 
    薄荷绿 : 189 252 200 
    草绿色 : 107 142 35 
    淡绿色 : 130 202 156 
    暗绿色 : 48 128 20 
    海蓝色 : 45 140 87 
    春绿色 ; 0 255 127 
    地球青翠: 56 94 15 
    纯绿色 : 0 255 0 
    */  
    COLORREF const g_LsGreenColorRef[] =  
    {  
        RGB(127, 255, 0),  
        RGB(61, 145, 64),  
        RGB(0, 201, 87),  
        RGB(34, 139, 34),  
        RGB(124, 252, 0),  
        RGB(50, 205, 50),  
        RGB(189, 252, 200),  
        RGB(107, 142, 35),  
        RGB(130, 202, 156),  
        RGB(48, 128, 20),  
        RGB(45, 140, 87),  
        RGB(0, 255, 127),  
        RGB(56, 94, 15),  
        RGB(0, 255, 0),  
    };  
    /** 
    基本颜色; 灰色 
    ———————— 
    有冷感灰: 128 138 135 
    暗蓝灰色: 112 128 144 
    有暖感灰: 128 128 105 
    纯灰色 : 128 128 128 
    */  
    COLORREF const g_LsGrayColorRef[] =  
    {  
        RGB(128, 138, 135),  
        RGB(112, 128, 144),  
        RGB(128, 128, 105),  
        RGB(128, 128, 128),  
    };  
    /** 
    基本颜色: 绛红色 
    —————————— 
    蓝色 : 138 43 266 
    淡紫色 : 218 112 214 
    柔和淡紫: 244 154 193 
    深紫色 : 221 160 221 
    紫色 : 160 32 240 
    紫罗兰色: 143 94 153 
    纯绛红色: 255 0 255 
    */  
    COLORREF const g_LsDarkRedColorRef[] =  
    {  
        RGB(138, 43, 266),  
        RGB(218, 112, 214),  
        RGB(244, 154, 193),  
        RGB(221, 160, 221),  
        RGB(160, 32, 240),  
        RGB(143, 94, 153),  
        RGB(255, 0, 255),  
    };  
    /** 
    基本颜色: 橙色 
    ———————— 
    镉橙色 : 255 97 3 
    胡萝卜色; 237 145 33 
    红橙色 : 255 69 0 
    纯橙色 : 255 128 0 
    */  
    COLORREF const g_LsOrangeColorRef[] =  
    {  
        RGB(255, 97, 3),  
        RGB(237, 145, 33),  
        RGB(255, 69, 0),  
        RGB(255, 128, 0),  
    };  
    /** 
    基本颜色: 红色 
    ———————— 
    砖红色 : 156 102 31 
    镉红色 : 227 23 13 
    珊瑚红色: 255 127 80 
    耐火砖红: 178 34 34 
    印度红 : 176 23 31 
    栗红 : 176 48 96 
    柔和淡红: 246 150 121 
    粉红 : 255 192 203 
    红光暗紫: 135 38 87 
    鲜肉色 ; 250 128 114 
    西红柿红; 255 99 71 
    纯红 : 255 0 0 
    */  
    COLORREF const g_LsRedColorRef[] =  
    {  
        RGB(156, 102, 31),  
        RGB(227, 23, 13),  
        RGB(255, 127, 80),  
        RGB(178, 34, 34),  
        RGB(176, 23, 31),  
        RGB(176, 48, 96),  
        RGB(246, 150, 121),  
        RGB(255, 192, 203),  
        RGB(135, 38, 87),  
        RGB(250, 128, 114),  
        RGB(255, 99, 71),  
        RGB(255, 0, 0),  
    };  
    /** 
    基本颜色; 白色 
    ———————— 
    古董白 : 250 235 215 
    天蓝色 : 240 255 255 
    桔黄色 ; 255 228 196 
    漂白色 : 255 235 205 
    玉米丝白: 255 248 220 
    蛋壳白 : 251 230 201 
    花白 : 255 250 240 
    Gainesboro: 220 220 220 
    Ghose white: 248 248 255 
    Honeydew: 240 255 240 
    象牙白 ; 255 255 240 
    亚麻色 : 250 240 230 
    Navajo : 255 222 173 
    旧饰带白: 253 245 230 
    海贝壳白: 255 245 238 
    烟白 : 245 245 245 
    雪白 : 255 250 250 
    麦子白 : 245 222 179 
    */  
    COLORREF const g_LsWhiteColorRef[] =  
    {  
        RGB(250, 235, 215),  
        RGB(240, 255, 255),  
        RGB(255, 228, 196),  
        RGB(255, 235, 205),  
        RGB(255, 248, 220),  
        RGB(251, 230, 201),  
        RGB(255, 250, 240),  
        RGB(220, 220, 220),  
        RGB(248, 248, 255),  
        RGB(240, 255, 240),  
        RGB(255, 255, 240),  
        RGB(250, 240, 230),  
        RGB(255, 222, 173),  
        RGB(253, 245, 230),  
        RGB(255, 245, 238),  
        RGB(245, 245, 245),  
        RGB(255, 250, 250),  
        RGB(245, 222, 179),  
    };  
    /** 
    基本颜色; 黄色 
    ———————— 
    香蕉黄 ; 227 207 87 
    镉黄 : 255 153 18 
    金黄 : 255 215 0 
    金黄色 : 218 165 32 
    瓜黄 : 227 255 0 
    淡黄 : 255 247 153 
    橙黄 ; 247 148 29 
    纯黄 : 255 255 0 
    */  
    COLORREF const g_LsYellowColorRef[] =  
    {  
        RGB(227, 207, 87),  
        RGB(255, 153, 18),  
        RGB(255, 215, 0),  
        RGB(218, 165, 32),  
        RGB(227, 255, 0),  
        RGB(255, 247, 153),  
        RGB(247, 148, 29),  
        RGB(255, 255, 0),  
    };  
    /** 
    各种金属颜色: 
    ———————— 
    铝 : 220 223 227 
    黄铜 : 191 173 111 
    铜 : 186 110 64 
    金 ; 218 178 115 
    石墨 : 87 33 77 
    铁 : 115 115 120 
    银 : 230 230 215 
    不锈钢 ; 125 125 120 
    */  
    COLORREF const g_LsMetalColorRef[] =  
    {  
        RGB(220, 223, 227),  
        RGB(191, 173, 111),  
        RGB(186, 110, 64),  
        RGB(218, 178, 115),  
        RGB(87, 33, 77),  
        RGB(115, 115, 120),  
        RGB(230, 230, 215),  
        RGB(125, 125, 120),  
    };  
#ifdef USE_NAMESPACE_ON_LOSTSPEED  
}//namespace NS_LOSTSPEED  
#endif  
#endif //#ifdef _LS_COLOR_REF_DEFINE_H_  

/**
* @file LsColorRefDefine.h
* @note
* original data from: http://hi.baidu.com/ganxuequan/blog/item/e8412d30374fed93a9018e94.html */
#ifndef _LS_COLOR_REF_DEFINE_H_
#define _LS_COLOR_REF_DEFINE_H_
#include <WTypes.h>
#ifdef USE_NAMESPACE_ON_LOSTSPEED
#define NS_LOSTSPEED LostSpeed
#define LSREF NS_LOSTSPEED::
#define USING_NSLS using NS_LOSTSPEED;
#else
#define NS_LOSTSPEED
#define LSREF
#define USING_NSLS
#endif
#ifdef USE_NAMESPACE_ON_LOSTSPEED
namespace NS_LOSTSPEED
{
#endif
/**
* 定义的颜色系列如下
* COLORREF const g_LsAllColorRef[];
* COLORREF const g_LsBuleColorRef[];
* COLORREF const g_LsBrownColorRef[];
* COLORREF const g_LsCyanColorRef[];
* COLORREF const g_LsGreenColorRef[];
* COLORREF const g_LsGrayColorRef[];
* COLORREF const g_LsDarkRedColorRef[];
* COLORREF const g_LsOrangeColorRef[];
* COLORREF const g_LsRedColorRef[];
* COLORREF const g_LsWhiteColorRef[];
* COLORREF const g_LsYellowColorRef[];
* COLORREF const g_LsMetalColorRef[];
*/
/**
aliceblue rgb(240, 248, 255)
antiquewhite rgb(250, 235, 215)
aqua rgb( 0, 255, 255)
aquamarine rgb(127, 255, 212)
azure rgb(240, 255, 255)
beige rgb(245, 245, 220)
bisque rgb(255, 228, 196)
black rgb( 0, 0, 0)
blanchedalmond rgb(255, 235, 205)
blue rgb( 0, 0, 255)
blueviolet rgb(138, 43, 226)
brown rgb(165, 42, 42)
burlywood rgb(222, 184, 135)
cadetblue rgb( 95, 158, 160)
chartreuse rgb(127, 255, 0)
chocolate rgb(210, 105, 30)
coral rgb(255, 127, 80)
cornflowerblue rgb(100, 149, 237)
cornsilk rgb(255, 248, 220)
crimson rgb(220, 20, 60)
cyan rgb( 0, 255, 255)
darkblue rgb( 0, 0, 139)
darkcyan rgb( 0, 139, 139)
darkgoldenrod rgb(184, 134, 11)
darkgray rgb(169, 169, 169)
darkgreen rgb( 0, 100, 0)
darkgrey rgb(169, 169, 169)
darkkhaki rgb(189, 183, 107)
darkmagenta rgb(139, 0, 139)
darkolivegreen rgb( 85, 107, 47)
darkorange rgb(255, 140, 0)
darkorchid rgb(153, 50, 204)
darkred rgb(139, 0, 0)
darksalmon rgb(233, 150, 122)
darkseagreen rgb(143, 188, 143)
darkslateblue rgb( 72, 61, 139)
darkslategray rgb( 47, 79, 79)
darkslategrey rgb( 47, 79, 79)
darkturquoise rgb( 0, 206, 209)
darkviolet rgb(148, 0, 211)
deeppink rgb(255, 20, 147)
deepskyblue rgb( 0, 191, 255)
dimgray rgb(105, 105, 105)
dimgrey rgb(105, 105, 105)
dodgerblue rgb( 30, 144, 255)
firebrick rgb(178, 34, 34)
floralwhite rgb(255, 250, 240)
forestgreen rgb( 34, 139, 34)
fuchsia rgb(255, 0, 255)
gainsboro rgb(220, 220, 220)
ghostwhite rgb(248, 248, 255)
gold rgb(255, 215, 0)
goldenrod rgb(218, 165, 32)
gray rgb(128, 128, 128)
grey rgb(128, 128, 128)
green rgb( 0, 128, 0)
greenyellow rgb(173, 255, 47)
honeydew rgb(240, 255, 240)
hotpink rgb(255, 105, 180)
indianred rgb(205, 92, 92)
indigo rgb( 75, 0, 130)
ivory rgb(255, 255, 240)
khaki rgb(240, 230, 140)
lavender rgb(230, 230, 250)
lavenderblush rgb(255, 240, 245)
lawngreen rgb(124, 252, 0)
lemonchiffon rgb(255, 250, 205)
lightblue rgb(173, 216, 230)
lightcoral rgb(240, 128, 128)
lightcyan rgb(224, 255, 255)
lightgoldenrodyellow rgb(250, 250, 210)
lightgray rgb(211, 211, 211)
lightgreen rgb(144, 238, 144)
lightgrey rgb(211, 211, 211)
lightpink rgb(255, 182, 193)
lightsalmon rgb(255, 160, 122)
lightseagreen rgb( 32, 178, 170)
lightskyblue rgb(135, 206, 250)
lightslategray rgb(119, 136, 153)
lightslategrey rgb(119, 136, 153)
lightsteelblue rgb(176, 196, 222)
lightyellow rgb(255, 255, 224)
lime rgb( 0, 255, 0)
limegreen rgb( 50, 205, 50)
linen rgb(250, 240, 230)
magenta rgb(255, 0, 255)
maroon rgb(128, 0, 0)
mediumaquamarine rgb(102, 205, 170)
mediumblue rgb( 0, 0, 205)
mediumorchid rgb(186, 85, 211)
mediumpurple rgb(147, 112, 219)
mediumseagreen rgb( 60, 179, 113)
mediumslateblue rgb(123, 104, 238)
mediumspringgreen rgb( 0, 250, 154)
mediumturquoise rgb( 72, 209, 204)
mediumvioletred rgb(199, 21, 133)
midnightblue rgb( 25, 25, 112)
mintcream rgb(245, 255, 250)
mistyrose rgb(255, 228, 225)
moccasin rgb(255, 228, 181)
navajowhite rgb(255, 222, 173)
navy rgb( 0, 0, 128)
oldlace rgb(253, 245, 230)
olive rgb(128, 128, 0)
olivedrab rgb(107, 142, 35)
orange rgb(255, 165, 0)
orangered rgb(255, 69, 0)
orchid rgb(218, 112, 214)
palegoldenrod rgb(238, 232, 170)
palegreen rgb(152, 251, 152)
paleturquoise rgb(175, 238, 238)
palevioletred rgb(219, 112, 147)
papayawhip rgb(255, 239, 213)
peachpuff rgb(255, 218, 185)
peru rgb(205, 133, 63)
pink rgb(255, 192, 203)
plum rgb(221, 160, 221)
powderblue rgb(176, 224, 230)
purple rgb(128, 0, 128)
red rgb(255, 0, 0)
rosybrown rgb(188, 143, 143)
royalblue rgb( 65, 105, 225)
saddlebrown rgb(139, 69, 19)
salmon rgb(250, 128, 114)
sandybrown rgb(244, 164, 96)
seagreen rgb( 46, 139, 87)
seashell rgb(255, 245, 238)
sienna rgb(160, 82, 45)
silver rgb(192, 192, 192)
skyblue rgb(135, 206, 235)
slateblue rgb(106, 90, 205)
slategray rgb(112, 128, 144)
slategrey rgb(112, 128, 144)
snow rgb(255, 250, 250)
springgreen rgb( 0, 255, 127)
steelblue rgb( 70, 130, 180)
tan rgb(210, 180, 140)
teal rgb( 0, 128, 128)
thistle rgb(216, 191, 216)
tomato rgb(255, 99, 71)
turquoise rgb( 64, 224, 208)
violet rgb(238, 130, 238)
wheat rgb(245, 222, 179)
white rgb(255, 255, 255)
whitesmoke rgb(245, 245, 245)
yellow rgb(255, 255, 0)
yellowgreen rgb(154, 205, 50)
*/
COLORREF const g_LsAllColorRef[] =
{
RGB(240, 248, 255), // aliceblue rgb(240, 248, 255)
RGB(250, 235, 215), // antiquewhite rgb(250, 235, 215)
RGB(0, 255, 255), // aqua rgb( 0, 255, 255)
RGB(127, 255, 212), // aquamarine rgb(127, 255, 212)
RGB(240, 255, 255), // azure rgb(240, 255, 255)
RGB(245, 245, 220), // beige rgb(245, 245, 220)
RGB(255, 228, 196), // bisque rgb(255, 228, 196)
RGB(0, 0, 0), // black rgb( 0, 0, 0)
RGB(255, 235, 205), // blanchedalmond rgb(255, 235, 205)
RGB(0, 0, 255), // blue rgb( 0, 0, 255)
RGB(138, 43, 226), // blueviolet rgb(138, 43, 226)
RGB(165, 42, 42), // brown rgb(165, 42, 42)
RGB(222, 184, 135), // burlywood rgb(222, 184, 135)
RGB(95, 158, 160), // cadetblue rgb( 95, 158, 160)
RGB(27, 255, 0), // chartreuse rgb(127, 255, 0)
RGB(210, 105, 30), // chocolate rgb(210, 105, 30)
RGB(255, 127, 80), // coral rgb(255, 127, 80)
RGB(100, 149, 237), // cornflowerblue rgb(100, 149, 237)
RGB(255, 248, 220), // cornsilk rgb(255, 248, 220)
RGB(220, 20, 60), // crimson rgb(220, 20, 60)
RGB(0, 255, 255), // cyan rgb( 0, 255, 255)
RGB(0, 0, 139), // darkblue rgb( 0, 0, 139)
RGB(0, 139, 139), // darkcyan rgb( 0, 139, 139)
RGB(184, 134, 11), // darkgoldenrod rgb(184, 134, 11)
RGB(169, 169, 169), // darkgray rgb(169, 169, 169)
RGB(0, 100, 0), // darkgreen rgb( 0, 100, 0)
RGB(169, 169, 169), // darkgrey rgb(169, 169, 169)
RGB(189, 183, 107), // darkkhaki rgb(189, 183, 107)
RGB(139, 0, 139), // darkmagenta rgb(139, 0, 139)
RGB(85, 107, 47), // darkolivegreen rgb( 85, 107, 47)
RGB(255, 140, 0), // darkorange rgb(255, 140, 0)
RGB(153, 50, 204), // darkorchid rgb(153, 50, 204)
RGB(139, 0, 0), // darkred rgb(139, 0, 0)
RGB(233, 150, 122), // darksalmon rgb(233, 150, 122)
RGB(143, 188, 143), // darkseagreen rgb(143, 188, 143)
RGB(72, 61, 139), // darkslateblue rgb( 72, 61, 139)
RGB(47, 79, 79), // darkslategray rgb( 47, 79, 79)
RGB(47, 79, 79), // darkslategrey rgb( 47, 79, 79)
RGB(0, 206, 209), // darkturquoise rgb( 0, 206, 209)
RGB(148, 0, 211), // darkviolet rgb(148, 0, 211)
RGB(255, 20, 147), // deeppink rgb(255, 20, 147)
RGB(0, 191, 255), // deepskyblue rgb( 0, 191, 255)
RGB(105, 105, 105), // dimgray rgb(105, 105, 105)
RGB(105, 105, 105), // dimgrey rgb(105, 105, 105)
RGB(30, 144, 255), // dodgerblue rgb( 30, 144, 255)
RGB(178, 34, 34), // firebrick rgb(178, 34, 34)
RGB(255, 250, 240), // floralwhite rgb(255, 250, 240)
RGB(34, 139, 34), // forestgreen rgb( 34, 139, 34)
RGB(255, 0, 255), // fuchsia rgb(255, 0, 255)
RGB(220, 220, 220), // gainsboro rgb(220, 220, 220)
RGB(248, 248, 255), // ghostwhite rgb(248, 248, 255)
RGB(255, 215, 0), // gold rgb(255, 215, 0)
RGB(218, 165, 32), // goldenrod rgb(218, 165, 32)
RGB(128, 128, 128), // gray rgb(128, 128, 128)
RGB(128, 128, 128), // grey rgb(128, 128, 128)
RGB(0, 128, 0), // green rgb( 0, 128, 0)
RGB(173, 255, 47), // greenyellow rgb(173, 255, 47)
RGB(240, 255, 240), // honeydew rgb(240, 255, 240)
RGB(255, 105, 180), // hotpink rgb(255, 105, 180)
RGB(205, 92, 92), // indianred rgb(205, 92, 92)
RGB(75, 0, 130), // indigo rgb( 75, 0, 130)
RGB(255, 255, 240), // ivory rgb(255, 255, 240)
RGB(240, 230, 140), // khaki rgb(240, 230, 140)
RGB(230, 230, 250), // lavender rgb(230, 230, 250)
RGB(255, 240, 245), // lavenderblush rgb(255, 240, 245)
RGB(124, 252, 0), // lawngreen rgb(124, 252, 0)
RGB(255, 250, 205), // lemonchiffon rgb(255, 250, 205)
RGB(173, 216, 230), // lightblue rgb(173, 216, 230)
RGB(240, 128, 128), // lightcoral rgb(240, 128, 128)
RGB(224, 255, 255), // lightcyan rgb(224, 255, 255)
RGB(250, 250, 210), // lightgoldenrodyellow rgb(250, 250, 210)
RGB(211, 211, 211), // lightgray rgb(211, 211, 211)
RGB(144, 238, 144), // lightgreen rgb(144, 238, 144)
RGB(211, 211, 211), // lightgrey rgb(211, 211, 211)
RGB(255, 182, 193), // lightpink rgb(255, 182, 193)
RGB(255, 160, 122), // lightsalmon rgb(255, 160, 122)
RGB(32, 178, 170), // lightseagreen rgb( 32, 178, 170)
RGB(135, 206, 250), // lightskyblue rgb(135, 206, 250)
RGB(119, 136, 153), // lightslategray rgb(119, 136, 153)
RGB(119, 136, 153), // lightslategrey rgb(119, 136, 153)
RGB(176, 196, 222), // lightsteelblue rgb(176, 196, 222)
RGB(255, 255, 224), // lightyellow rgb(255, 255, 224)
RGB(0, 255, 0), // lime rgb( 0, 255, 0)
RGB(50, 205, 50), // limegreen rgb( 50, 205, 50)
RGB(250, 240, 230), // linen rgb(250, 240, 230)
RGB(255, 0, 255), // magenta rgb(255, 0, 255)
RGB(128, 0, 0), // maroon rgb(128, 0, 0)
RGB(102, 205, 170), // mediumaquamarine rgb(102, 205, 170)
RGB(0, 0, 205),  // mediumblue rgb( 0, 0, 205)
RGB(186, 85, 211), // mediumorchid rgb(186, 85, 211)
RGB(147, 112, 219), // mediumpurple rgb(147, 112, 219)
RGB(60, 179, 113), // mediumseagreen rgb( 60, 179, 113)
RGB(123, 104, 238), // mediumslateblue rgb(123, 104, 238)
RGB(0, 250, 154), // mediumspringgreen rgb( 0, 250, 154)
RGB(72, 209, 204), // mediumturquoise rgb( 72, 209, 204)
RGB(199, 21, 133), // mediumvioletred rgb(199, 21, 133)
RGB(25, 25, 112), // midnightblue rgb( 25, 25, 112)
RGB(245, 255, 250), // mintcream rgb(245, 255, 250)
RGB(255, 228, 225), // mistyrose rgb(255, 228, 225)
RGB(255, 228, 181), // moccasin rgb(255, 228, 181)
RGB(255, 222, 173), // navajowhite rgb(255, 222, 173)
RGB(0, 0, 128), // navy rgb( 0, 0, 128)
RGB(253, 245, 230), // oldlace rgb(253, 245, 230)
RGB(128, 128, 0), // olive rgb(128, 128, 0)
RGB(107, 142, 35), // olivedrab rgb(107, 142, 35)
RGB(255, 165, 0), // orange rgb(255, 165, 0)
RGB(255, 69, 0), // orangered rgb(255, 69, 0)
RGB(218, 112, 214), // orchid rgb(218, 112, 214)
RGB(238, 232, 170), // palegoldenrod rgb(238, 232, 170)
RGB(152, 251, 152), // palegreen rgb(152, 251, 152)
RGB(175, 238, 238), // paleturquoise rgb(175, 238, 238)
RGB(219, 112, 147), // palevioletred rgb(219, 112, 147)
RGB(255, 239, 213), // papayawhip rgb(255, 239, 213)
RGB(255, 218, 185), // peachpuff rgb(255, 218, 185)
RGB(205, 133, 63), // peru rgb(205, 133, 63)
RGB(255, 192, 203), // pink rgb(255, 192, 203)
RGB(221, 160, 221), // plum rgb(221, 160, 221)
RGB(176, 224, 230), // powderblue rgb(176, 224, 230)
RGB(128, 0, 128), // purple rgb(128, 0, 128)
RGB(255, 0, 0), // red rgb(255, 0, 0)
RGB(188, 143, 143), // rosybrown rgb(188, 143, 143)
RGB(65, 105, 225), // royalblue rgb( 65, 105, 225)
RGB(139, 69, 19), // saddlebrown rgb(139, 69, 19)
RGB(250, 128, 114), // salmon rgb(250, 128, 114)
RGB(244, 164, 96), // sandybrown rgb(244, 164, 96)
RGB(46, 139, 87), // seagreen rgb( 46, 139, 87)
RGB(255, 245, 238), // seashell rgb(255, 245, 238)
RGB(160, 82, 45), // sienna rgb(160, 82, 45)
RGB(192, 192, 192), // silver rgb(192, 192, 192)
RGB(135, 206, 235), // skyblue rgb(135, 206, 235)
RGB(106, 90, 205), // slateblue rgb(106, 90, 205)
RGB(112, 128, 144), // slategray rgb(112, 128, 144)
RGB(112, 128, 144), // slategrey rgb(112, 128, 144)
RGB(255, 250, 250), // snow rgb(255, 250, 250)
RGB(0, 255, 127), // springgreen rgb( 0, 255, 127)
RGB(70, 130, 180), // steelblue rgb( 70, 130, 180)
RGB(210, 180, 140), // tan rgb(210, 180, 140)
RGB(0, 128, 128), // teal rgb( 0, 128, 128)
RGB(216, 191, 216), // thistle rgb(216, 191, 216)
RGB(255, 99, 71), // tomato rgb(255, 99, 71)
RGB(64, 224, 208), // turquoise rgb( 64, 224, 208)
RGB(238, 130, 238), // violet rgb(238, 130, 238)
RGB(245, 222, 179), // wheat rgb(245, 222, 179)
RGB(255, 255, 255), // white rgb(255, 255, 255)
RGB(245, 245, 245), // whitesmoke rgb(245, 245, 245)
RGB(255, 255, 0), // yellow rgb(255, 255, 0)
RGB(154, 205, 50), // yellowgreen rgb(154, 205, 50)
};
/**
RGB颜色参数
基本颜色:蓝色
———————
钴制深蓝; 60 90 170
闪蓝色 : 30 144 255
靛青 : 8 46 84
深蓝 : 25 25 112
藏青 : 0 0 28
菘蓝 : 131 147 202
孔雀蓝 : 50 160 200
浅灰蓝 : 176 224 230
品蓝 ; 65 105 225
暗蓝灰色: 106 90 205
天蓝 ; 135 206 235
钢青 : 70 130 180
纯蓝 : 0 0 255
绿松色 : 0 200 140
*/
COLORREF const g_LsBuleColorRef[] =
{
RGB(60, 90, 170),
RGB(30, 144, 255),
RGB(8, 46, 84),
RGB(25, 25, 112),
RGB(0, 0, 28),
RGB(131, 147, 202),
RGB(50, 160, 200),
RGB(176, 224, 230),
RGB(65, 105, 225),
RGB(106, 90, 205),
RGB(135, 206, 235),
RGB(70, 130, 180),
RGB(0, 0, 255),
RGB(0, 200, 140),
};
/**
基本颜色; 褐色
————————
浅褐色 : 163 148 128
赭色 ; 138 54 15
红棕色 : 138 51 36
巧克力色: 210 105 30
黄褐色 : 240 230 140
生赭石黄: 199 97 20
生褐色 : 115 74 18
玫瑰红色: 188 143 143
马鞍色 : 139 69 19
棕褐色 : 94 38 18
沙色 : 160 92 45
茶色 ; 210 180 140
纯褐色 ; 128 42 42
*/
COLORREF const g_LsBrownColorRef[] =
{
RGB(163, 148, 128),
RGB(138, 54, 15),
RGB(138, 51, 36),
RGB(210, 105, 30),
RGB(240, 230, 140),
RGB(199, 97, 20),
RGB(115, 74, 18),
RGB(188, 143, 143),
RGB(139, 69, 19),
RGB(94, 38, 18),
RGB(160, 92, 45),
RGB(210, 180, 140),
RGB(128, 42, 42),
};
/**
基本颜色: 青色
————————
碧绿色 : 127 255 212
浅绿色 ; 109 207 246
纯青色 : 0 255 255
青绿色 ; 64 244 208
*/
COLORREF const g_LsCyanColorRef[] =
{
RGB(127, 255, 212),
RGB(109, 207, 246),
RGB(0, 255, 255),
RGB(64, 244, 208),
};
/**
基本颜色: 绿色
————————
黄绿色 : 127 255 0
钴制深蓝: 61 145 64
翠绿色 : 0 201 87
森林绿 ; 34 139 34
草坪绿 ; 124 252 0
酸橙绿 ; 50 205 50
薄荷绿 : 189 252 200
草绿色 : 107 142 35
淡绿色 : 130 202 156
暗绿色 : 48 128 20
海蓝色 : 45 140 87
春绿色 ; 0 255 127
地球青翠: 56 94 15
纯绿色 : 0 255 0
*/
COLORREF const g_LsGreenColorRef[] =
{
RGB(127, 255, 0),
RGB(61, 145, 64),
RGB(0, 201, 87),
RGB(34, 139, 34),
RGB(124, 252, 0),
RGB(50, 205, 50),
RGB(189, 252, 200),
RGB(107, 142, 35),
RGB(130, 202, 156),
RGB(48, 128, 20),
RGB(45, 140, 87),
RGB(0, 255, 127),
RGB(56, 94, 15),
RGB(0, 255, 0),
};
/**
基本颜色; 灰色
————————
有冷感灰: 128 138 135
暗蓝灰色: 112 128 144
有暖感灰: 128 128 105
纯灰色 : 128 128 128
*/
COLORREF const g_LsGrayColorRef[] =
{
RGB(128, 138, 135),
RGB(112, 128, 144),
RGB(128, 128, 105),
RGB(128, 128, 128),
};
/**
基本颜色: 绛红色
——————————
蓝色 : 138 43 266
淡紫色 : 218 112 214
柔和淡紫: 244 154 193
深紫色 : 221 160 221
紫色 : 160 32 240
紫罗兰色: 143 94 153
纯绛红色: 255 0 255
*/
COLORREF const g_LsDarkRedColorRef[] =
{
RGB(138, 43, 266),
RGB(218, 112, 214),
RGB(244, 154, 193),
RGB(221, 160, 221),
RGB(160, 32, 240),
RGB(143, 94, 153),
RGB(255, 0, 255),
};
/**
基本颜色: 橙色
————————
镉橙色 : 255 97 3
胡萝卜色; 237 145 33
红橙色 : 255 69 0
纯橙色 : 255 128 0
*/
COLORREF const g_LsOrangeColorRef[] =
{
RGB(255, 97, 3),
RGB(237, 145, 33),
RGB(255, 69, 0),
RGB(255, 128, 0),
};
/**
基本颜色: 红色
————————
砖红色 : 156 102 31
镉红色 : 227 23 13
珊瑚红色: 255 127 80
耐火砖红: 178 34 34
印度红 : 176 23 31
栗红 : 176 48 96
柔和淡红: 246 150 121
粉红 : 255 192 203
红光暗紫: 135 38 87
鲜肉色 ; 250 128 114
西红柿红; 255 99 71
纯红 : 255 0 0
*/
COLORREF const g_LsRedColorRef[] =
{
RGB(156, 102, 31),
RGB(227, 23, 13),
RGB(255, 127, 80),
RGB(178, 34, 34),
RGB(176, 23, 31),
RGB(176, 48, 96),
RGB(246, 150, 121),
RGB(255, 192, 203),
RGB(135, 38, 87),
RGB(250, 128, 114),
RGB(255, 99, 71),
RGB(255, 0, 0),
};
/**
基本颜色; 白色
————————
古董白 : 250 235 215
天蓝色 : 240 255 255
桔黄色 ; 255 228 196
漂白色 : 255 235 205
玉米丝白: 255 248 220
蛋壳白 : 251 230 201
花白 : 255 250 240
Gainesboro: 220 220 220
Ghose white: 248 248 255
Honeydew: 240 255 240
象牙白 ; 255 255 240
亚麻色 : 250 240 230
Navajo : 255 222 173
旧饰带白: 253 245 230
海贝壳白: 255 245 238
烟白 : 245 245 245
雪白 : 255 250 250
麦子白 : 245 222 179
*/
COLORREF const g_LsWhiteColorRef[] =
{
RGB(250, 235, 215),
RGB(240, 255, 255),
RGB(255, 228, 196),
RGB(255, 235, 205),
RGB(255, 248, 220),
RGB(251, 230, 201),
RGB(255, 250, 240),
RGB(220, 220, 220),
RGB(248, 248, 255),
RGB(240, 255, 240),
RGB(255, 255, 240),
RGB(250, 240, 230),
RGB(255, 222, 173),
RGB(253, 245, 230),
RGB(255, 245, 238),
RGB(245, 245, 245),
RGB(255, 250, 250),
RGB(245, 222, 179),
};
/**
基本颜色; 黄色
————————
香蕉黄 ; 227 207 87
镉黄 : 255 153 18
金黄 : 255 215 0
金黄色 : 218 165 32
瓜黄 : 227 255 0
淡黄 : 255 247 153
橙黄 ; 247 148 29
纯黄 : 255 255 0
*/
COLORREF const g_LsYellowColorRef[] =
{
RGB(227, 207, 87),
RGB(255, 153, 18),
RGB(255, 215, 0),
RGB(218, 165, 32),
RGB(227, 255, 0),
RGB(255, 247, 153),
RGB(247, 148, 29),
RGB(255, 255, 0),
};
/**
各种金属颜色:
————————
铝 : 220 223 227
黄铜 : 191 173 111
铜 : 186 110 64
金 ; 218 178 115
石墨 : 87 33 77
铁 : 115 115 120
银 : 230 230 215
不锈钢 ; 125 125 120
*/
COLORREF const g_LsMetalColorRef[] =
{
RGB(220, 223, 227),
RGB(191, 173, 111),
RGB(186, 110, 64),
RGB(218, 178, 115),
RGB(87, 33, 77),
RGB(115, 115, 120),
RGB(230, 230, 215),
RGB(125, 125, 120),
};
#ifdef USE_NAMESPACE_ON_LOSTSPEED
}//namespace NS_LOSTSPEED
#endif
#endif //#ifdef _LS_COLOR_REF_DEFINE_H_
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: