![]() |
|
+- Save-Point (https://www.save-point.org) +-- Forum: Material Development (https://www.save-point.org/forum-8.html) +--- Forum: Scripts Database (https://www.save-point.org/forum-39.html) +---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html) +---- Thread: |
Hex Colors RG - kyonides - 11-18-2025 Hex Colors RG
by Kyonides
Introduction I'm back to leave you another scriptlet that will allow you to use hex colors in your windows and sprites with ease. This code will work on RMXP, RMVX and even RMVX ACE! ![]() Just use it like this: For Windows: Code: self.contents.font.color = hex_color("FF00FF")For Sprites: Code: self.bitmap.font.color = hex_color("FF00FF")In this particular case, your text will become purple-ish! You can also add 2 extra characters to set the alpha value of your custom color manually. In both cases you can add the # pound sign at the beginning of the string, but it's not mandatory. The Script Code: # * Hex Colors RG * # Terms & Conditions It's free as in beer. That's all you need to know.
|