how to make text in a dialogue be a different color?

i seen this in a game of rpgmaker ,


where there would be text red color like a single word anyway.


i was wondering how do you do that


note: that # on the beginning of the number... i just added that. so you can ignore it


problem scrshot.png
Hem, I didn't really understand what you want, but if you want to color only one word, it's this :


\C[x]yourword\C[0]


with "x" being the number of your color.
Hem, I didn't really understand what you want, but if you want to color only one word, it's this :


\C[x]yourword\C[0]


with "x" being the number of your color.

thanks sorry i written that a little quick ... i don't know why..] ill re-write it to make it ound understandable..]
The colors in the bottom right corner of your "window" graphic (system) are the colors you have to choose from and they are in that order from left to right/top to bottom.
Or I believe that's how it is, anyway.
The colors in the bottom right corner of your "window" graphic (system) are the colors you have to choose from and they are in that order from left to right/top to bottom.
Or I believe that's how it is, anyway.

well i put the number in but it didn't change the  color of the text it actually the text of the dialog didnt appear at all.... strange.


but ill keep trying
Can you show us screens of your event ? 
I took some screenshots to help. 


Here we have the event itself, and the commands.

Spoiler
4a33152e358368cbc6693863b9dcb6a7.png


Now when we press Preview we can see what it will look like in game:  

Spoiler
635cfa12c38c39b81e770dac3fa65fab.png



And it's as easy as that. To also elaborate on what I said earlier, in the bottom right of this graphic you can see the colors it uses. 

Spoiler
f77258b3052057208448ad1c50e8b2cc.png

 
Can you show us screens of your event ? 

um sure
Oh, you try to change the color with an hexadecimal value. Nope, it doesn't work that way ^^


It's this for the basic window skin :


6868356_orig.jpg



The colors are in the windows skin file (bottom right).
Nooo.. you're using the color code, not the color number... when using \C you need the color number not the color code... Basically, you just count from left to right and top to bottom on the color palette of your windowskin, with the first color being number 0 and so on...
Right. Like I've been saying :[
For red text it would be \C[18]
Because:
aec01f9f75153c34867781a72743484a.png
 
if you want a different color you'll have to manually change one of these.
you have to close it after each color to make it work...  such as \c[4]Male\c[0] or \c[26]Female\c[0]... it will come out looking like the screen shot...  also, there is no 0 color... 0 is  used to close the statement and make the color appear... White is the default color, so you don't really need to use that...


Text Color 1.jpg


Text Color 2.jpg


Text Color 3.jpg
actually, it will work even if you don't put \C[0] coz all that means is to go back to the 0th color on the palette for the next texts so you don't need it if you don't need to go back to 0 anyway. The system uses the 0th color as default, it's not always white as you can change the palette on the windowskin but most windowskins uses white on slot 0 anyway. 


His problem (based from his screenshot) was that he used a color code (\C[#0201071]) instead of the color number.. Also, if you look his screenshot he did used a \C[0] after his text.
well, I am fairly new to all this and just do it how all the tuts say to do it... 
we always learn something new every time 🙂


Anyway let's all hope he reads this and get his fix XD

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-text-in-a-dialogue-be-a-different-color.70574/