public String convertColor(Color color)
	{
		int red = color.getRed();
		int green = color.getGreen();
		int blue = color.getBlue();
		String redRep  =  binaryConvert(red);
		
	
		
		String greenRep  =  binaryConvert(green);
		String blueRep  =  binaryConvert(blue);
		
		if(redRep.length() < 8)
		{
			
			while( redRep.length() < 8)
			{
				redRep = "0" + redRep;
			}
			
		}
		
		if(greenRep.length() < 8)
		{
			
			while( greenRep.length() < 8)
			{
				greenRep = "0" + greenRep;
			}
			
		}
		
		if(blueRep.length() < 8)
		{
			
			while( blueRep.length() < 8)
			{
				blueRep = "0" + blueRep;
			}
			
		}
		
		String result =  redRep + greenRep + blueRep;
		return result;
	}