Color Codes 
	 
	
		| Author | 
		Message | 
	 
		 
		smith_scott_04
 
  
 
    
		 | 
		
		
			
				  Posted: Sun Nov 16, 2003 10:22 pm    Post subject: Color Codes  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				These are the color codes, so you can see all the colors. Its on 2 different backgrounds.
 
 
	  | code: | 	 		  
 
View.Set ("graphics:640;500")
 
var myrow, mycol : int %counts the rows
 
myrow := 1
 
mycol := 1
 
for a : 0 .. 255
 
    color (a)
 
    colorback (29)
 
    if mycol >= maxcol - 1 then
 
        myrow := myrow + 1
 
        mycol := 1
 
    end if
 
    locate (myrow, mycol)
 
    put a
 
    mycol := mycol + 4
 
end for
 
mycol := 1
 
for a : 0 .. 255
 
    color (0)
 
    colorback (a)
 
    if mycol >= maxcol - 1 then
 
        myrow := myrow + 1
 
        mycol := 1
 
    end if
 
    locate (myrow, mycol)
 
    put a
 
    mycol := mycol + 4
 
end for
 
  | 	 
  | 
			 
			
				 | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
		 
		Sponsor Sponsor 
		 
  
		 | 
		
 | 
	 
	 
		  | 
	 
				 
		Dan
 
  
 
    
		 | 
		
		
			
				  Posted: Mon Nov 17, 2003 5:19 pm    Post subject: (No subject)  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				Not bad, nice litte app to find color codes.
 
 
have some bits.... | 
			 
			
				| Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!  | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
				 
		 | 
	 
 
	
	
	 
	
	 |