ZTree.com  | ZEN  | About...  

 Index   Back

[Help!] Zcolors.ini RGB numbers- default 16 colours shown - bits and bytes   [Help!]

By: Steve Rawling     Sydney  
Date: Feb 24,2021 at 02:30
In Response to: [Help!] Zcolors.ini RGB numbers- default colours wanted (Matthias Kring)

>
> These are the colour values of my unchanged console mode windows:
>
0 black 0 0 0
1 dark blue 0 0 128
2 green 0 128 0
3 cyan 0 128 128
4 red 128 0 0
5 magenta 128 0 128
6 brown 128 128 0
7 light grey 192 192 192
8 dark grey 128 128 128
9 bri blue 0 0 255
10 bri green 0 255 0
11 bri cyan 0 255 255
12 bri red 255 0 0
13 bri magenta 255 0 255
14 bri yellow 255 255 0
15 white 255 255 255


I found this informative image
[image]

so if red green and blue each allow for a byte ( ie 256 or 2 power 8 bits) does that mean that specifying a colour takes 3 bytes when 16,77,7216 options (256 cubed) are available?

123 views      
 

Messages in this Thread

 
95,371 Postings in 12,032 Threads, 350 registered users, 23 users online (0 registered, 23 guests)
Index | Admin contact |   Forum Time: May 6, 2021 - 1:41 pm UTC  |  Hits:39,347,890  (7,794 Today )
RSS Feed