AnyCAD Rapid API 2024
Help you to create a better world!
载入中...
搜索中...
未找到
AnyCAD.Foundation.ColorTable类 参考

颜色表. 更多...

静态 Public 成员函数

static Vector3 RandomColor ()
 生成随机的颜色
 
static Vector3 RGB (byte r, byte g, byte b)
 RGB[0-256)转换为RGB[0-1]
 
static uint ToHex (byte r, byte g, byte b)
 RGB[0-256)转换为整数
 
static uint ToHex (Vector3 clr)
 RGB[0-1]转换为整数
 
static Vector3 Hex (UInt32 hex)
 整数转换为RGB[0-1]
 

静态 Public 属性

static readonly Vector3 LightPink = Hex(0xFFB6C1)
 
static readonly Vector3 浅粉红 = RGB(255,182,193)
 
static readonly Vector3 Pink = Hex(0xFFC0CB)
 
static readonly Vector3 粉红 = RGB(255,192,203)
 
static readonly Vector3 Crimson = Hex(0xDC143C)
 
static readonly Vector3 猩红 = RGB(220,20,60)
 
static readonly Vector3 LavenderBlush = Hex(0xFFF0F5)
 
static readonly Vector3 脸红的淡紫色 = RGB(255,240,245)
 
static readonly Vector3 PaleVioletRed = Hex(0xDB7093)
 
static readonly Vector3 苍白的紫罗兰红色 = RGB(219,112,147)
 
static readonly Vector3 HotPink = Hex(0xFF69B4)
 
static readonly Vector3 热情的粉红 = RGB(255,105,180)
 
static readonly Vector3 DeepPink = Hex(0xFF1493)
 
static readonly Vector3 深粉色 = RGB(255,20,147)
 
static readonly Vector3 MediumVioletRed = Hex(0xC71585)
 
static readonly Vector3 适中的紫罗兰红色 = RGB(199,21,133)
 
static readonly Vector3 Orchid = Hex(0xDA70D6)
 
static readonly Vector3 兰花的紫色 = RGB(218,112,214)
 
static readonly Vector3 Thistle = Hex(0xD8BFD8)
 
static readonly Vector3  = RGB(216,191,216)
 
static readonly Vector3 plum = Hex(0xDDA0DD)
 
static readonly Vector3 李子 = RGB(221,160,221)
 
static readonly Vector3 Violet = Hex(0xEE82EE)
 
static readonly Vector3 紫罗兰 = RGB(238,130,238)
 
static readonly Vector3 Magenta = Hex(0xFF00FF)
 
static readonly Vector3 洋红 = RGB(255,0,255)
 
static readonly Vector3 Fuchsia = Hex(0xFF00FF)
 
static readonly Vector3 灯笼海棠_紫红色_ = RGB(255,0,255)
 
static readonly Vector3 DarkMagenta = Hex(0x8B008B)
 
static readonly Vector3 深洋红色 = RGB(139,0,139)
 
static readonly Vector3 Purple = Hex(0x800080)
 
static readonly Vector3 紫色 = RGB(128,0,128)
 
static readonly Vector3 MediumOrchid = Hex(0xBA55D3)
 
static readonly Vector3 适中的兰花紫 = RGB(186,85,211)
 
static readonly Vector3 DarkVoilet = Hex(0x9400D3)
 
static readonly Vector3 深紫罗兰色 = RGB(148,0,211)
 
static readonly Vector3 DarkOrchid = Hex(0x9932CC)
 
static readonly Vector3 深兰花紫 = RGB(153,50,204)
 
static readonly Vector3 Indigo = Hex(0x4B0082)
 
static readonly Vector3 靛青 = RGB(75,0,130)
 
static readonly Vector3 BlueViolet = Hex(0x8A2BE2)
 
static readonly Vector3 深紫罗兰的蓝色 = RGB(138,43,226)
 
static readonly Vector3 MediumPurple = Hex(0x9370DB)
 
static readonly Vector3 适中的紫色 = RGB(147,112,219)
 
static readonly Vector3 MediumSlateBlue = Hex(0x7B68EE)
 
static readonly Vector3 适中的板岩暗蓝灰色 = RGB(123,104,238)
 
static readonly Vector3 SlateBlue = Hex(0x6A5ACD)
 
static readonly Vector3 板岩暗蓝灰色 = RGB(106,90,205)
 
static readonly Vector3 DarkSlateBlue = Hex(0x483D8B)
 
static readonly Vector3 深岩暗蓝灰色 = RGB(72,61,139)
 
static readonly Vector3 Lavender = Hex(0xE6E6FA)
 
static readonly Vector3 熏衣草花的淡紫色 = RGB(230,230,250)
 
static readonly Vector3 GhostWhite = Hex(0xF8F8FF)
 
static readonly Vector3 幽灵的白色 = RGB(248,248,255)
 
static readonly Vector3 Blue = Hex(0x0000FF)
 
static readonly Vector3 纯蓝 = RGB(0,0,255)
 
static readonly Vector3 MediumBlue = Hex(0x0000CD)
 
static readonly Vector3 适中的蓝色 = RGB(0,0,205)
 
static readonly Vector3 MidnightBlue = Hex(0x191970)
 
static readonly Vector3 午夜的蓝色 = RGB(25,25,112)
 
static readonly Vector3 DarkBlue = Hex(0x00008B)
 
static readonly Vector3 深蓝色 = RGB(0,0,139)
 
static readonly Vector3 Navy = Hex(0x000080)
 
static readonly Vector3 海军蓝 = RGB(0,0,128)
 
static readonly Vector3 RoyalBlue = Hex(0x4169E1)
 
static readonly Vector3 皇军蓝 = RGB(65,105,225)
 
static readonly Vector3 CornflowerBlue = Hex(0x6495ED)
 
static readonly Vector3 矢车菊的蓝色 = RGB(100,149,237)
 
static readonly Vector3 LightSteelBlue = Hex(0xB0C4DE)
 
static readonly Vector3 淡钢蓝 = RGB(176,196,222)
 
static readonly Vector3 LightSlateGray = Hex(0x778899)
 
static readonly Vector3 浅石板灰 = RGB(119,136,153)
 
static readonly Vector3 SlateGray = Hex(0x708090)
 
static readonly Vector3 石板灰 = RGB(112,128,144)
 
static readonly Vector3 DoderBlue = Hex(0x1E90FF)
 
static readonly Vector3 道奇蓝 = RGB(30,144,255)
 
static readonly Vector3 AliceBlue = Hex(0xF0F8FF)
 
static readonly Vector3 爱丽丝蓝 = RGB(240,248,255)
 
static readonly Vector3 SteelBlue = Hex(0x4682B4)
 
static readonly Vector3 钢蓝 = RGB(70,130,180)
 
static readonly Vector3 LightSkyBlue = Hex(0x87CEFA)
 
static readonly Vector3 淡蓝色 = RGB(135,206,250)
 
static readonly Vector3 SkyBlue = Hex(0x87CEEB)
 
static readonly Vector3 天蓝色 = RGB(135,206,235)
 
static readonly Vector3 DeepSkyBlue = Hex(0x00BFFF)
 
static readonly Vector3 深天蓝 = RGB(0,191,255)
 
static readonly Vector3 LightBlue = Hex(0xADD8E6)
 
static readonly Vector3 淡蓝 = RGB(173,216,230)
 
static readonly Vector3 PowDerBlue = Hex(0xB0E0E6)
 
static readonly Vector3 火药蓝 = RGB(176,224,230)
 
static readonly Vector3 CadetBlue = Hex(0x5F9EA0)
 
static readonly Vector3 军校蓝 = RGB(95,158,160)
 
static readonly Vector3 Azure = Hex(0xF0FFFF)
 
static readonly Vector3 蔚蓝色 = RGB(240,255,255)
 
static readonly Vector3 LightCyan = Hex(0xE1FFFF)
 
static readonly Vector3 淡青色 = RGB(225,255,255)
 
static readonly Vector3 PaleTurquoise = Hex(0xAFEEEE)
 
static readonly Vector3 苍白的绿宝石 = RGB(175,238,238)
 
static readonly Vector3 Cyan = Hex(0x00FFFF)
 
static readonly Vector3 青色 = RGB(0,255,255)
 
static readonly Vector3 Aqua = Hex(0x00FFFF)
 
static readonly Vector3 水绿色 = RGB(0,255,255)
 
static readonly Vector3 DarkTurquoise = Hex(0x00CED1)
 
static readonly Vector3 深绿宝石 = RGB(0,206,209)
 
static readonly Vector3 DarkSlateGray = Hex(0x2F4F4F)
 
static readonly Vector3 深石板灰 = RGB(47,79,79)
 
static readonly Vector3 DarkCyan = Hex(0x008B8B)
 
static readonly Vector3 深青色 = RGB(0,139,139)
 
static readonly Vector3 Teal = Hex(0x008080)
 
static readonly Vector3 水鸭色 = RGB(0,128,128)
 
static readonly Vector3 MediumTurquoise = Hex(0x48D1CC)
 
static readonly Vector3 适中的绿宝石 = RGB(72,209,204)
 
static readonly Vector3 LightSeaGreen = Hex(0x20B2AA)
 
static readonly Vector3 浅海洋绿 = RGB(32,178,170)
 
static readonly Vector3 Turquoise = Hex(0x40E0D0)
 
static readonly Vector3 绿宝石 = RGB(64,224,208)
 
static readonly Vector3 Auqamarin = Hex(0x7FFFAA)
 
static readonly Vector3 绿玉_碧绿色 = RGB(127,255,170)
 
static readonly Vector3 MediumAquamarine = Hex(0x00FA9A)
 
static readonly Vector3 适中的碧绿色 = RGB(0,250,154)
 
static readonly Vector3 MediumSpringGreen = Hex(0xF5FFFA)
 
static readonly Vector3 适中的春天的绿色 = RGB(245,255,250)
 
static readonly Vector3 MintCream = Hex(0x00FF7F)
 
static readonly Vector3 薄荷奶油 = RGB(0,255,127)
 
static readonly Vector3 SpringGreen = Hex(0x3CB371)
 
static readonly Vector3 春天的绿色 = RGB(60,179,113)
 
static readonly Vector3 SeaGreen = Hex(0x2E8B57)
 
static readonly Vector3 海洋绿 = RGB(46,139,87)
 
static readonly Vector3 Honeydew = Hex(0xF0FFF0)
 
static readonly Vector3 蜂蜜 = RGB(240,255,240)
 
static readonly Vector3 LightGreen = Hex(0x90EE90)
 
static readonly Vector3 淡绿色 = RGB(144,238,144)
 
static readonly Vector3 PaleGreen = Hex(0x98FB98)
 
static readonly Vector3 苍白的绿色 = RGB(152,251,152)
 
static readonly Vector3 DarkSeaGreen = Hex(0x8FBC8F)
 
static readonly Vector3 深海洋绿 = RGB(143,188,143)
 
static readonly Vector3 LimeGreen = Hex(0x32CD32)
 
static readonly Vector3 酸橙绿 = RGB(50,205,50)
 
static readonly Vector3 Lime = Hex(0x00FF00)
 
static readonly Vector3 酸橙色 = RGB(0,255,0)
 
static readonly Vector3 ForestGreen = Hex(0x228B22)
 
static readonly Vector3 森林绿 = RGB(34,139,34)
 
static readonly Vector3 Green = Hex(0x008000)
 
static readonly Vector3 纯绿 = RGB(0,128,0)
 
static readonly Vector3 DarkGreen = Hex(0x006400)
 
static readonly Vector3 深绿色 = RGB(0,100,0)
 
static readonly Vector3 Chartreuse = Hex(0x7FFF00)
 
static readonly Vector3 查特酒绿 = RGB(127,255,0)
 
static readonly Vector3 LawnGreen = Hex(0x7CFC00)
 
static readonly Vector3 草坪绿 = RGB(124,252,0)
 
static readonly Vector3 GreenYellow = Hex(0xADFF2F)
 
static readonly Vector3 绿黄色 = RGB(173,255,47)
 
static readonly Vector3 OliveDrab = Hex(0x556B2F)
 
static readonly Vector3 橄榄土褐色 = RGB(85,107,47)
 
static readonly Vector3 Beige = Hex(0x6B8E23)
 
static readonly Vector3 米色_浅褐色_ = RGB(107,142,35)
 
static readonly Vector3 LightGoldenrodYellow = Hex(0xFAFAD2)
 
static readonly Vector3 浅秋麒麟黄 = RGB(250,250,210)
 
static readonly Vector3 Ivory = Hex(0xFFFFF0)
 
static readonly Vector3 象牙 = RGB(255,255,240)
 
static readonly Vector3 LightYellow = Hex(0xFFFFE0)
 
static readonly Vector3 浅黄色 = RGB(255,255,224)
 
static readonly Vector3 Yellow = Hex(0xFFFF00)
 
static readonly Vector3 纯黄 = RGB(255,255,0)
 
static readonly Vector3 Olive = Hex(0x808000)
 
static readonly Vector3 橄榄 = RGB(128,128,0)
 
static readonly Vector3 DarkKhaki = Hex(0xBDB76B)
 
static readonly Vector3 深卡其布 = RGB(189,183,107)
 
static readonly Vector3 LemonChiffon = Hex(0xFFFACD)
 
static readonly Vector3 柠檬薄纱 = RGB(255,250,205)
 
static readonly Vector3 PaleGodenrod = Hex(0xEEE8AA)
 
static readonly Vector3 灰秋麒麟 = RGB(238,232,170)
 
static readonly Vector3 Khaki = Hex(0xF0E68C)
 
static readonly Vector3 卡其布 = RGB(240,230,140)
 
static readonly Vector3 Gold = Hex(0xFFD700)
 
static readonly Vector3  = RGB(255,215,0)
 
static readonly Vector3 Cornislk = Hex(0xFFF8DC)
 
static readonly Vector3 玉米色 = RGB(255,248,220)
 
static readonly Vector3 GoldEnrod = Hex(0xDAA520)
 
static readonly Vector3 秋麒麟 = RGB(218,165,32)
 
static readonly Vector3 FloralWhite = Hex(0xFFFAF0)
 
static readonly Vector3 花的白色 = RGB(255,250,240)
 
static readonly Vector3 OldLace = Hex(0xFDF5E6)
 
static readonly Vector3 老饰带 = RGB(253,245,230)
 
static readonly Vector3 Wheat = Hex(0xF5DEB3)
 
static readonly Vector3 小麦色 = RGB(245,222,179)
 
static readonly Vector3 Moccasin = Hex(0xFFE4B5)
 
static readonly Vector3 鹿皮鞋 = RGB(255,228,181)
 
static readonly Vector3 Orange = Hex(0xFFA500)
 
static readonly Vector3 橙色 = RGB(255,165,0)
 
static readonly Vector3 PapayaWhip = Hex(0xFFEFD5)
 
static readonly Vector3 番木瓜 = RGB(255,239,213)
 
static readonly Vector3 BlanchedAlmond = Hex(0xFFEBCD)
 
static readonly Vector3 漂白的杏仁 = RGB(255,235,205)
 
static readonly Vector3 NavajoWhite = Hex(0xFFDEAD)
 
static readonly Vector3 Navajo白 = RGB(255,222,173)
 
static readonly Vector3 AntiqueWhite = Hex(0xFAEBD7)
 
static readonly Vector3 古代的白色 = RGB(250,235,215)
 
static readonly Vector3 Tan = Hex(0xD2B48C)
 
static readonly Vector3 晒黑 = RGB(210,180,140)
 
static readonly Vector3 BrulyWood = Hex(0xDEB887)
 
static readonly Vector3 结实的树 = RGB(222,184,135)
 
static readonly Vector3 Bisque = Hex(0xFFE4C4)
 
static readonly Vector3 _浓汤_乳脂
 
static readonly Vector3 番茄等 = RGB(255,228,196)
 
static readonly Vector3 DarkOrange = Hex(0xFF8C00)
 
static readonly Vector3 深橙色 = RGB(255,140,0)
 
static readonly Vector3 Linen = Hex(0xFAF0E6)
 
static readonly Vector3 亚麻布 = RGB(250,240,230)
 
static readonly Vector3 Peru = Hex(0xCD853F)
 
static readonly Vector3 秘鲁 = RGB(205,133,63)
 
static readonly Vector3 PeachPuff = Hex(0xFFDAB9)
 
static readonly Vector3 桃色 = RGB(255,218,185)
 
static readonly Vector3 SandyBrown = Hex(0xF4A460)
 
static readonly Vector3 沙棕色 = RGB(244,164,96)
 
static readonly Vector3 Chocolate = Hex(0xD2691E)
 
static readonly Vector3 巧克力 = RGB(210,105,30)
 
static readonly Vector3 SaddleBrown = Hex(0x8B4513)
 
static readonly Vector3 马鞍棕色 = RGB(139,69,19)
 
static readonly Vector3 SeaShell = Hex(0xFFF5EE)
 
static readonly Vector3 海贝壳 = RGB(255,245,238)
 
static readonly Vector3 Sienna = Hex(0xA0522D)
 
static readonly Vector3 黄土赭色 = RGB(160,82,45)
 
static readonly Vector3 LightSalmon = Hex(0xFFA07A)
 
static readonly Vector3 浅鲜肉_鲑鱼_色 = RGB(255,160,122)
 
static readonly Vector3 Coral = Hex(0xFF7F50)
 
static readonly Vector3 珊瑚 = RGB(255,127,80)
 
static readonly Vector3 OrangeRed = Hex(0xFF4500)
 
static readonly Vector3 橙红色 = RGB(255,69,0)
 
static readonly Vector3 DarkSalmon = Hex(0xE9967A)
 
static readonly Vector3 深鲜肉_鲑鱼_色 = RGB(233,150,122)
 
static readonly Vector3 Tomato = Hex(0xFF6347)
 
static readonly Vector3 番茄 = RGB(255,99,71)
 
static readonly Vector3 MistyRose = Hex(0xFFE4E1)
 
static readonly Vector3 薄雾玫瑰 = RGB(255,228,225)
 
static readonly Vector3 Salmon = Hex(0xFA8072)
 
static readonly Vector3 鲜肉_鲑鱼_色 = RGB(250,128,114)
 
static readonly Vector3 Snow = Hex(0xFFFAFA)
 
static readonly Vector3  = RGB(255,250,250)
 
static readonly Vector3 LightCoral = Hex(0xF08080)
 
static readonly Vector3 淡珊瑚色 = RGB(240,128,128)
 
static readonly Vector3 RosyBrown = Hex(0xBC8F8F)
 
static readonly Vector3 玫瑰棕色 = RGB(188,143,143)
 
static readonly Vector3 IndianRed = Hex(0xCD5C5C)
 
static readonly Vector3 印度红 = RGB(205,92,92)
 
static readonly Vector3 Red = Hex(0xFF0000)
 
static readonly Vector3 纯红 = RGB(255,0,0)
 
static readonly Vector3 Brown = Hex(0xA52A2A)
 
static readonly Vector3 棕色 = RGB(165,42,42)
 
static readonly Vector3 FireBrick = Hex(0xB22222)
 
static readonly Vector3 耐火砖 = RGB(178,34,34)
 
static readonly Vector3 DarkRed = Hex(0x8B0000)
 
static readonly Vector3 深红色 = RGB(139,0,0)
 
static readonly Vector3 Maroon = Hex(0x800000)
 
static readonly Vector3 栗色 = RGB(128,0,0)
 
static readonly Vector3 White = Hex(0xFFFFFF)
 
static readonly Vector3 纯白 = RGB(255,255,255)
 
static readonly Vector3 WhiteSmoke = Hex(0xF5F5F5)
 
static readonly Vector3 白烟 = RGB(245,245,245)
 
static readonly Vector3 Gainsboro = Hex(0xDCDCDC)
 
static readonly Vector3 亮灰 = RGB(220,220,220)
 
static readonly Vector3 LightGrey = Hex(0xD3D3D3)
 
static readonly Vector3 LightGray = Hex(0xD3D3D3)
 
static readonly Vector3 浅灰色 = RGB(211,211,211)
 
static readonly Vector3 Silver = Hex(0xC0C0C0)
 
static readonly Vector3 银白色 = RGB(192,192,192)
 
static readonly Vector3 DarkGray = Hex(0xA9A9A9)
 
static readonly Vector3 深灰色 = RGB(169,169,169)
 
static readonly Vector3 Gray = Hex(0x808080)
 
static readonly Vector3 灰色 = RGB(128,128,128)
 
static readonly Vector3 DimGray = Hex(0x696969)
 
static readonly Vector3 暗淡的灰色 = RGB(105,105,105)
 
static readonly Vector3 Black = Hex(0x000000)
 
static readonly Vector3 纯黑 = RGB(0,0,0)
 

详细描述

颜色表.

成员函数说明

◆ Hex()

static Vector3 AnyCAD.Foundation.ColorTable.Hex ( UInt32 hex)
static

整数转换为RGB[0-1]

参数
hex
返回

◆ RandomColor()

static Vector3 AnyCAD.Foundation.ColorTable.RandomColor ( )
static

生成随机的颜色

返回

◆ RGB()

static Vector3 AnyCAD.Foundation.ColorTable.RGB ( byte r,
byte g,
byte b )
static

RGB[0-256)转换为RGB[0-1]

参数
r
g
b
返回

◆ ToHex() [1/2]

static uint AnyCAD.Foundation.ColorTable.ToHex ( byte r,
byte g,
byte b )
static

RGB[0-256)转换为整数

参数
r
g绿
b
返回

◆ ToHex() [2/2]

static uint AnyCAD.Foundation.ColorTable.ToHex ( Vector3 clr)
static

RGB[0-1]转换为整数

参数
clr颜色
返回