Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.
Tor (torbuntu) edited this page Nov 24, 2019 · 6 revisions

Leikr Colors

Version: 0.0.15

color methods

note: There are a number of predefined colors with int ID's.

ID Name
0 CLEAR
1 WHITE
2 WHITE_M1
3 LIGHT_GRAY
4 GRAY
5 DARK_GRAY
6 BLACK_P1
7 BLACK
8 RED
9 GREEN
10 BLUE
11 MAROON
12 CORAL
13 SALMON
14 PINK
15 LIME
16 FOREST
17 OLIVE
18 NAVY
19 ROYAL
20 SKY
21 CYAN
22 TEAL
23 YELLOW
24 GOLD
25 GOLDENROD
26 ORANGE
27 BROWN
28 TAN
29 FIREBRICK
30 PURPLE
31 VIOLET
32 MAGENTA
33+ BLACK
Color API
void bgColor(int color) Sets the background color of the screen given the color ID.
void bgColor(String rgb) Sets the background color of the screen given the rgb color values: "255,255,255"

Contents

Home

API

under construction for version 1.10.1

Clone this wiki locally