【发布时间】:2014-04-09 05:08:29
【问题描述】:
我正在开发 TI AM335x EVM。它使用 Arago Linux 发行版。
现在我想修改这个设备的启动画面,它有一个名为psplash的用户空间应用程序,还有一个定义颜色的文件,这是该文件中的代码:
psplash-colors.h:
/* This is the overall background color */
#define PSPLASH_BACKGROUND_COLOR 0xec,0xec,0xe1
/* This is the color of any text output */
#define PSPLASH_TEXT_COLOR 0x6d,0x6d,0x70
/* This is the color of the progress bar indicator */
#define PSPLASH_BAR_COLOR 0x6d,0x6d,0x70
/* This is the color of the progress bar background */
#define PSPLASH_BAR_BACKGROUND_COLOR 0xec,0xec,0xe1
我知道这些是组成 RGB 值的十六进制代码,基于它是 3 组字节的事实,我认为它们可能是 x11 color codes。
我想弄清楚这些到底是什么颜色,例如我在任何地方都找不到0xEC 0xEC 0xE1。我怎样才能弄清楚这些值代表什么颜色?
【问题讨论】: