XO colors: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 2: Line 2:


== control.py ==
== control.py ==
There are 18 (6 colors in 3 hues) colors to pick from for two-color '''buddy icon''' customization. However, in order to encourage color contrast, [[sugar-control-panel]] does not allow, the same two colors. Which makes 306 unique color combinations (From: /usr/share/sugar/shell/controlpanel/control.py ). A table of XO icons in the allowed colors is at [[Media:Buddy-Icon-Color-Matrix.pdf]].
There are 18 (6 colors in 3 hues) colors to pick from for two-color '''buddy icon''' customization. However, in order to encourage color contrast, [[sugar-control-panel]] does not allow, the same two colors. Which makes 306 unique color combinations (From: /usr/share/sugar/shell/controlpanel/control.py ). A table of XO icons in the 306 colors is at [[Media:Buddy-Icon-Color-Matrix.pdf]].


{| style="padding:0.5em;"
{| style="padding:0.5em;"

Revision as of 14:42, 11 May 2008


control.py

There are 18 (6 colors in 3 hues) colors to pick from for two-color buddy icon customization. However, in order to encourage color contrast, sugar-control-panel does not allow, the same two colors. Which makes 306 unique color combinations (From: /usr/share/sugar/shell/controlpanel/control.py ). A table of XO icons in the 306 colors is at Media:Buddy-Icon-Color-Matrix.pdf.

COLOR NAME dark medium light
RED B20008 E6000A FFADCE
ORANGE 9A5200 C97E00 FFC169
YELLOW 807500 BE9E00 FFFA00
GREEN 008009 00b20d 8bff7a
BLUE 00588C 005FE4 bccdff
PURPLE 5e008c 7f00bf d1a3ff

xocolor.py

There are 27 different colors used for logo colors. Each logo has two colors—an outline color and a fill color. 841 combinations. (However, the following file only has 120 color combinations, and some of them are duplicates) (file: /usr/lib/python2.5/site-packages/sugar/graphics/xocolor.py also found in the GIT file lib/sugar/graphics/xocolors.py

FFFA00 8BFF7A F8E800 BCCEFF
BCCDFF FFC169 FFADCE D1A3FF
00EA11 FF8F00 BE9E00 C97E00
00A0FF 00B20D 807500 008009
9A5200 AC32FF FF2B34 005FE4
00588C A700FF E6000A 9900E6
7F00BF B20008 5E008C

RBG and Hex values

PDF with the RBG and hex values for the 27 colors. File:Xo colors.pdf

Here are the sample colors from the pdf.

#FF2B34
RBG (255, 43, 52)
#E6000A
RBG (230, 0, 10)
#B20008
RBG (178, 0, 8)
#9A5200
RBG (154, 84, 0)
#C97E00
RBG (201, 126, 0)
#FF8F00
RBG (255, 143, 0)
#BE9E00
RBG (190, 158, 0)
#FFC169
RBG (255, 193, 105)
#F8E800
RBG (248, 232, 0)
#FFFA00
RBG (255, 250, 0)
#8BFF7A
RBG (139, 255, 122)
#00EA11
RBG (0, 234, 17)
#008009
RBG (0, 128, 9)
#807500
RBG (128, 117, 0)
#00588C
RBG (0, 88, 140)
#005FE4
RBG (0, 95, 228)
#00A0FF
RBG (0, 160, 255)
#BCCEFF
RBG (188, 206, 255)
#BCCDFF
RBG (188, 205, 255)
#D1A3FF
RBG (209, 163, 255)
#AC32FF
RBG (172, 50, 255)
#A700FF
RBG (167, 0, 255)
#9900E6
RBG (153, 0, 230)
#7F00BF
RBG (127, 0, 191)
#5E008C
RBG (94, 0, 140)
#FFADCE
RBG (255, 173, 206)
#00B20D
RBG (0, 178, 13)



See also: