comparison app/src/main/java/com/five_ten_sg/connectbot/util/Colors.java @ 438:d29cce60f393

migrate from Eclipse to Android Studio
author Carl Byington <carl@five-ten-sg.com>
date Thu, 03 Dec 2015 11:23:55 -0800
parents src/com/five_ten_sg/connectbot/util/Colors.java@bf01d1eec5c6
children
comparison
equal deleted inserted replaced
437:208b31032318 438:d29cce60f393
1 /*
2 * ConnectBot: simple, powerful, open-source SSH client for Android
3 * Copyright 2007 Kenny Root, Jeffrey Sharkey
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18 package com.five_ten_sg.connectbot.util;
19
20 /**
21 * @author Kenny Root
22 *
23 */
24 public class Colors {
25 public final static Integer[] defaults = new Integer[] {
26 0xff000000, // black // 0
27 0xffcc0000, // red // 1
28 0xff00cc00, // green // 2
29 0xffcccc00, // brown // 3
30 0xff0000cc, // blue // 4
31 0xffcc00cc, // purple // 5
32 0xff00cccc, // cyan // 6
33 0xffcccccc, // light grey // 7
34 0xff444444, // dark grey // 8
35 0xffff4444, // light red // 9
36 0xff44ff44, // light green // a
37 0xffffff44, // yellow // b
38 0xff4444ff, // light blue // c
39 0xffff44ff, // light purple // d
40 0xff44ffff, // light cyan // e
41 0xffffffff, // white // f
42 0xff000000, 0xff00005f, 0xff000087, 0xff0000af, 0xff0000d7,
43 0xff0000ff, 0xff005f00, 0xff005f5f, 0xff005f87, 0xff005faf,
44 0xff005fd7, 0xff005fff, 0xff008700, 0xff00875f, 0xff008787,
45 0xff0087af, 0xff0087d7, 0xff0087ff, 0xff00af00, 0xff00af5f,
46 0xff00af87, 0xff00afaf, 0xff00afd7, 0xff00afff, 0xff00d700,
47 0xff00d75f, 0xff00d787, 0xff00d7af, 0xff00d7d7, 0xff00d7ff,
48 0xff00ff00, 0xff00ff5f, 0xff00ff87, 0xff00ffaf, 0xff00ffd7,
49 0xff00ffff, 0xff5f0000, 0xff5f005f, 0xff5f0087, 0xff5f00af,
50 0xff5f00d7, 0xff5f00ff, 0xff5f5f00, 0xff5f5f5f, 0xff5f5f87,
51 0xff5f5faf, 0xff5f5fd7, 0xff5f5fff, 0xff5f8700, 0xff5f875f,
52 0xff5f8787, 0xff5f87af, 0xff5f87d7, 0xff5f87ff, 0xff5faf00,
53 0xff5faf5f, 0xff5faf87, 0xff5fafaf, 0xff5fafd7, 0xff5fafff,
54 0xff5fd700, 0xff5fd75f, 0xff5fd787, 0xff5fd7af, 0xff5fd7d7,
55 0xff5fd7ff, 0xff5fff00, 0xff5fff5f, 0xff5fff87, 0xff5fffaf,
56 0xff5fffd7, 0xff5fffff, 0xff870000, 0xff87005f, 0xff870087,
57 0xff8700af, 0xff8700d7, 0xff8700ff, 0xff875f00, 0xff875f5f,
58 0xff875f87, 0xff875faf, 0xff875fd7, 0xff875fff, 0xff878700,
59 0xff87875f, 0xff878787, 0xff8787af, 0xff8787d7, 0xff8787ff,
60 0xff87af00, 0xff87af5f, 0xff87af87, 0xff87afaf, 0xff87afd7,
61 0xff87afff, 0xff87d700, 0xff87d75f, 0xff87d787, 0xff87d7af,
62 0xff87d7d7, 0xff87d7ff, 0xff87ff00, 0xff87ff5f, 0xff87ff87,
63 0xff87ffaf, 0xff87ffd7, 0xff87ffff, 0xffaf0000, 0xffaf005f,
64 0xffaf0087, 0xffaf00af, 0xffaf00d7, 0xffaf00ff, 0xffaf5f00,
65 0xffaf5f5f, 0xffaf5f87, 0xffaf5faf, 0xffaf5fd7, 0xffaf5fff,
66 0xffaf8700, 0xffaf875f, 0xffaf8787, 0xffaf87af, 0xffaf87d7,
67 0xffaf87ff, 0xffafaf00, 0xffafaf5f, 0xffafaf87, 0xffafafaf,
68 0xffafafd7, 0xffafafff, 0xffafd700, 0xffafd75f, 0xffafd787,
69 0xffafd7af, 0xffafd7d7, 0xffafd7ff, 0xffafff00, 0xffafff5f,
70 0xffafff87, 0xffafffaf, 0xffafffd7, 0xffafffff, 0xffd70000,
71 0xffd7005f, 0xffd70087, 0xffd700af, 0xffd700d7, 0xffd700ff,
72 0xffd75f00, 0xffd75f5f, 0xffd75f87, 0xffd75faf, 0xffd75fd7,
73 0xffd75fff, 0xffd78700, 0xffd7875f, 0xffd78787, 0xffd787af,
74 0xffd787d7, 0xffd787ff, 0xffd7af00, 0xffd7af5f, 0xffd7af87,
75 0xffd7afaf, 0xffd7afd7, 0xffd7afff, 0xffd7d700, 0xffd7d75f,
76 0xffd7d787, 0xffd7d7af, 0xffd7d7d7, 0xffd7d7ff, 0xffd7ff00,
77 0xffd7ff5f, 0xffd7ff87, 0xffd7ffaf, 0xffd7ffd7, 0xffd7ffff,
78 0xffff0000, 0xffff005f, 0xffff0087, 0xffff00af, 0xffff00d7,
79 0xffff00ff, 0xffff5f00, 0xffff5f5f, 0xffff5f87, 0xffff5faf,
80 0xffff5fd7, 0xffff5fff, 0xffff8700, 0xffff875f, 0xffff8787,
81 0xffff87af, 0xffff87d7, 0xffff87ff, 0xffffaf00, 0xffffaf5f,
82 0xffffaf87, 0xffffafaf, 0xffffafd7, 0xffffafff, 0xffffd700,
83 0xffffd75f, 0xffffd787, 0xffffd7af, 0xffffd7d7, 0xffffd7ff,
84 0xffffff00, 0xffffff5f, 0xffffff87, 0xffffffaf, 0xffffffd7,
85 0xffffffff, 0xff080808, 0xff121212, 0xff1c1c1c, 0xff262626,
86 0xff303030, 0xff3a3a3a, 0xff444444, 0xff4e4e4e, 0xff585858,
87 0xff626262, 0xff6c6c6c, 0xff767676, 0xff808080, 0xff8a8a8a,
88 0xff949494, 0xff9e9e9e, 0xffa8a8a8, 0xffb2b2b2, 0xffbcbcbc,
89 0xffc6c6c6, 0xffd0d0d0, 0xffdadada, 0xffe4e4e4, 0xffeeeeee,
90 };
91 }