From 2eeaff50760d63e3b9c75802a4198ea97ed0e4de Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Wed, 8 Dec 2010 02:46:36 +0100 Subject: [PATCH] termcol: android icon palette (disabled) Incomparable to terminal colours. --- termcol.plp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/termcol.plp b/termcol.plp index 92844a5..90f8a7c 100644 --- a/termcol.plp +++ b/termcol.plp @@ -82,12 +82,24 @@ my %col = ( qw/000000 650021 15b01a 6e750e 01153e 7e1e9c 029386 c5c9c7 929591 e50000 aaff32 ffff14 0343df ed0dd9 00ffff ffffff/, ], + -android => [ + sprintf('android', + 'http://developer.android.com/guide/practices/ui_guidelines/icon_design.html', + 'recommended colour palette for Android icons', + ), + qw/white light medium dark black blue1 blue2 blue3 + green1 green2 green3 orange1 orange2 orange3 red /, + ], + android => [ + qw/FFFFFF BFBFBF 808080 404040 000000 6699FF 3366CC 003399 + 99CC33 00CC00 669933 FFCC00 FF9900 FF6600 CC0000 /, + ], ); for my $term (qw/cga xterm tango html xkcd/) { print '', "\n"; printf "\n", $col{"-$term"}[0] || $term; - for my $num (0 .. 15) { + for my $num (0 .. $#{ $col{$term} }) { my $rgb = $col{$term}[$num]; my $name = $col{"-$term"}[$num + 1] || $num; $name = [ $name, ['#333'] ] if $term eq 'xkcd'; -- 2.30.0
%s