[][src]Function screen_13::color::color

pub const fn color(idx: usize) -> Color

Sets the screen display colors.

idx: A number that sets the foreground screen color

Available Colors

idxNameHexadecimal Value
0Black0x000000
1Dim Blue0x0000a8
2Dim Green0x00a800
3Dim Cyan0x00a8a8
4Dim Red0xa80000
5Dim Purple0xa800a8
6Brown0xa85400
7Dim White0xa8a8a8
8Gray0x545454
9Light Blue0x5454fc
10Light Green0x54fc54
11Light Cyan0x54fcfc
12Light Red0xfc5454
13Light Purple0xfc54fc
14Light Yellow0xfcfc54
15Light White0xfcfcfc