TGC Codebase Backup



Colors by flock

6th Aug 2006 13:37
Summary

Very simple function you can call to produce color vars for use with text or basic 2D. It may work in DBPro (highly likely).



Description



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    	function colors()

		black = rgb(0,0,0)
		white = rgb(255,255,255)
		green = rgb(110,210,80)
		blue = rgb(80,80,210)
		red = rgb(210,80,80)
		gray = rgb(150,150,150)
		pink = rgb(250,40,250)
		purple = rgb(200,50,170)
		brown = rgb(140,100,40)
		orange = rgb(250,170,40)
		yellow = rgb(240,250,40)
		redpink = rgb(250,40,120)
	
	endfunction