这个问题已在各种 StackOverflow 讨论中得到解决,但普遍最佳的解决方案仍然难以捉摸。然而,颜色理论和算法的进步提供了几种有前途的方法。
任意数量的颜色 (N)
有限且相对较小的 N
颜色系统之间的转换
Kelly 和 Boynton 列表的 RGB 值
Kelly Color | Hex | RGB |
---|---|---|
Vivid Yellow | 0xFFB300 | 255, 179, 0 |
Strong Purple | 0xFF803E75 | 255, 128, 56 |
Vivid Orange | 0xFF6800 | 255, 104, 0 |
Very Light Blue | 0xA6BDD7 | 166, 189, 215 |
Vivid Red | 0xC10020 | 193, 0, 32 |
Grayish Yellow | 0xCEA262 | 206, 162, 98 |
Medium Gray | 0x817066 | 129, 112, 102 |
Vivid Green | 0x007D34 | 0, 125, 52 |
Strong Purplish Pink | 0xF6768E | 246, 118, 142 |
Strong Blue | 0x00538A | 0, 83, 138 |
Strong Yellowish Pink | 0xFF7A5C | 255, 122, 92 |
Strong Violet | 0x53377A | 83, 55, 122 |
Vivid Orange Yellow | 0xFF8E00 | 255, 142, 0 |
Strong Purplish Red | 0xB32851 | 179, 40, 81 |
Vivid Greenish Yellow | 0xF4C800 | 244, 200, 0 |
Strong Reddish Brown | 0x7F180D | 127, 24, 13 |
Vivid Yellowish Green | 0x93AA00 | 147, 170, 0 |
Deep Yellowish Brown | 0x593315 | 89, 51, 21 |
Vivid Reddish Orange | 0xF13A13 | 241, 58, 19 |
Dark Olive Green | 0x232C16 | 35, 44, 22 |
Boynton Color | Hex | RGB |
---|---|---|
Blue | 0x0000FF | 0, 0, 255 |
Red | 0xFF0000 | 255, 0, 0 |
Green | 0x00FF00 | 0, 255, 0 |
Yellow | 0xFFFF00 | 255, 255, 0 |
Magenta | 0xFF00FF | 255, 0, 255 |
Pink | 0xFF8080 | 255, 128, 128 |
Gray | 0x808080 | 128, 128, 128 |
Brown | 0x800000 | 128, 0, 0 |
Orange | 0xFF8000 | 255, 128, 0 |
以上是以下是几个符合文章内容的标题: 1. How to Create Visually Distinct Colors: A Guide to the Best Methods and Resources. (This highlights the problem and the solution-oriented nature of the article.) 2. What are the的详细内容。更多信息请关注PHP中文网其他相关文章!