Turbo Pascal (Borland Pascal) 7.0. Ðóêîâîäñòâî ïîëüçîâàòåëÿ

       

Öâåòîâàÿ øêàëà


Öâåò Êîä Öâåò Êîä
Black – ÷åðíûé 0 DarkGray – òåìíî-ñåðûé 8
Blue – ñèíèé 1 LightBlue – ãîëóáîé 9
Green - çåëåíûé 2 LightGreen – ÿðêî-çåëåíûé 10
Gyan – áèðþçîâûé 3 LightGyan – ÿðêî-áèðþçîâûé 11
Red – êðàñíûé 4 LightRed – ÿðêî-êðàñíûé 12
Magenta – ìàëèíîâûé 5 LightMagenta – ÿðêî-ìàëèíîâûé 13
Brown – êîðè÷íåâûé 6 Yellow – æåëòûé 14
LightGray – ñâåòëî-ñåðûé 7 White – áåëûé 15

Ïðèìåð.

PutPixel(320, 240, 4);

PutPixel(320,240, Red);

Âûâîäèò â öåíòðå ýêðàíà òî÷êó êðàñíîãî öâåòà



Ñîäåðæàíèå ðàçäåëà