[SOLVED]Color value for pspDebugScreenSetTextColor etc..

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
ne0h
Posts: 386
Joined: Thu Feb 21, 2008 2:15 am

[SOLVED]Color value for pspDebugScreenSetTextColor etc..

Post by ne0h »

Excuse me, but i've don't find a table for the hex value of the color, ex. =0x000000FF, there are a table for this (color = value)?
Last edited by ne0h on Mon Mar 17, 2008 3:17 am, edited 1 time in total.
User avatar
jean
Posts: 489
Joined: Sat Jan 05, 2008 2:44 am

Post by jean »

Table?? Judging from its size it seems an RGBA value...this means that you have a byte (two exadecimal digits) for each of the four components...
255 = 0xFF, so white, fully opaque is 0xFFFFFFFF.....this is something EXTREMELY basic....you should find a tutorial on graphic basis....
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

I do believe the debug colors are all ABGR/8888. All my code uses that format color.
Post Reply