Where are acolours in the Help

New to FreeBASIC? Post your questions here.
Post Reply
Luis Babboni
Posts: 375
Joined: Mar 15, 2015 12:41

Where are acolours in the Help

Post by Luis Babboni »

Hi people.

sorry but this is a problem I have too frequantly.

Where in the help is wich number is wich colour?

I mean, 2 is green, 4 is red..... others?
MrSwiss
Posts: 3910
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: Where are acolours in the Help

Post by MrSwiss »

Code: Select all

For i As UInteger = 0 To 15
    If i < 8 Then Color i, 15 Else Color i, 0
    Print "console Color"
Next
Sleep
This little snippet shows it all.
Luis Babboni
Posts: 375
Joined: Mar 15, 2015 12:41

Re: Where are acolours in the Help

Post by Luis Babboni »

:-)

Thanks!
badidea
Posts: 2586
Joined: May 24, 2007 22:10
Location: The Netherlands

Re: Where are acolours in the Help

Post by badidea »

For graphics screens, up to 8 bit colors: https://freebasic.net/wiki/GfxDefPalettes
Post Reply