Page 1 of 1
ascii colors
Posted: Wed Feb 29, 2012 10:46 am
by assembler01
I have checked all over the internet and could still not find a table of ascii colors, so do any of you have any table of ascii colors?
Re: ascii colors
Posted: Wed Feb 29, 2012 10:52 am
by brain
You probably mean ansi escapes and colour codes, which can be found on Google:
http://www.lmgtfy.com/?q=ANSI+colour+codes
Re: ascii colors
Posted: Wed Feb 29, 2012 10:57 am
by assembler01
ANSI???
Isn't ASCII the character set to be used here.
Re: ascii colors
Posted: Wed Feb 29, 2012 11:18 am
by Combuster
ascii colors
Does Comic Sans imply a geocities page with purple text on a yellow background?
My crystal ball says you're probably after the
default palette in text mode.
Re: ascii colors
Posted: Wed Feb 29, 2012 2:03 pm
by JamesM
assembler01 wrote:ANSI???
Isn't ASCII the character set to be used here.
"character set" is the operative phrase - colours have nothing to do with characters.
Re: ascii colors
Posted: Fri Mar 02, 2012 1:56 pm
by egos
Combuster wrote:My crystal ball says you're probably after the
default palette in text mode.
Yes, you're probably right. I use following color codes for default palette (for 18-bit VGA DAC):
00 00 00
00 00 2A
00 2A 00
00 2A 2A
2A 00 00
2A 00 2A
2A 15 00
2A 2A 2A
15 15 15
15 15 3F
15 3F 15
15 3F 3F
3F 15 15
3F 15 3F
3F 3F 15
3F 3F 3F
ASCII does not have color
Posted: Thu Mar 15, 2012 5:29 am
by KernelDeveloper
ASCII is a set of characters, not colours.
Colours depends on the colour palette;
For example 16- colour palette have 16 colours,
16 colour palette:
0 BLACK
1 BLUE
2 GREEN
3 CYAN
4 RED
5 MAGENTA
6 BROWN
7 LIGHT GREY
8 DARK GREY
9 LIGHT BLUE
10 LIGHT GREEN
11 LIGHT CYAN
12 LIGHT RED
13 LIGHT MAGENTA
14 LIGHT BROWN
15 WHITE
Re: ascii colors
Posted: Thu Mar 15, 2012 5:32 am
by KernelDeveloper
http://forum.osdev.org/viewtopic.php?f=1&t=24986
I posted this in a seprate topic because i had problems @ my forums deleting these.There were 4 topics at my forums on ASCII Colours and Character Set.
Re: ascii colors
Posted: Thu Mar 15, 2012 5:39 am
by Combuster
KernelDeveloper wrote:because i had problems
PEBKAC on that?
Also, What you tried to say already got posted earlier
Re: ascii colors
Posted: Thu Mar 15, 2012 5:53 am
by KernelDeveloper
I had opened a website for beginners and now there are some complicated tutorials. Total of 26 tutorials. Now I am running an neat setup so again removing and adding the tutorials.
The problem I faced was out of 100 aprox 70 would be dumb questions like this one.
Questions like "How to put black colour for ASCII Code??".But I have plucked out those from the forums.
That's why I posted my solution on different topic because every beginner would see the heading and not ask about it.
That's what i ment 'posts earlier'
Re: ascii colors
Posted: Thu Mar 15, 2012 7:03 am
by Solar
KernelDeveloper wrote:That's why I posted my solution on different topic because every beginner would see the heading and not ask about it.
Reference material belongs on the Wiki. Which, incidentially, already has the information:
Text UI.
Forum threads are a very poor repository for persistent information.