Turn GameMaker colors into hex strings as used in many graphics editing programs and commonly used in web styling.

For example:

color_to_hex_string( c_red , 0 );

Will return the string:


You can also set the second argument to 1 to return a BGR string instead of an RGB string.

More info

End User Licence Agreement (EULA).

Version 1.0.0. Published June 25, 2015

Created with GameMaker: Studio v1.4.1565

Age Rating: 4+

Privacy Policy

Average Rating

Your review

You can only review assets you've bought.


Samuel V 26 April 2019

I flagged the users who rated 1-to-2 stars

They clearly don't know how to give an explanation for their poor ratings. This extension works flawlessly and is in pure GML, so it can be used on all platforms. I didn't flag the people who rated 3 because I don't want to be too picky, but I still don't understand why so many people just knock stars off and don't take the time to list feedback. It's very unhelpful, especially since this asset works as advertised. If you guys ever don't know how to use an asset, don't understand what it does, or know what it is useful for, those are the only circumstances I'd encourage you to keep your rating to yourself instead of permanently mangling an otherwise perfect average of 5/5 that this asset clearly deserves,


Anonymous 13 April 2019


Anonymous 26 April 2019


Anonymous 26 April 2019


Anonymous 31 August 2018


Anonymous 26 April 2019


Drake D 18 May 2018


Tyler G 30 November 2016


It works well alongside this other asset:

Package contents

Loading, please wait

What is the issue?

Back to Top