diff --git a/htdocs/html.formother.class.php b/htdocs/html.formother.class.php
index 6387908594cee9626ad2039ae613dd2bf22d031a..57920ec39c53980bbcc097f8938dce8357bfc109 100644
--- a/htdocs/html.formother.class.php
+++ b/htdocs/html.formother.class.php
@@ -211,7 +211,7 @@ class FormOther
 	             fctShow();
 	           }
 	         </script>'."\n";
-		print '<input type="text" size="10" name="'.$prefix.'" value="'.$set_color.'" maxlength="7" style="font-family:Tahoma;font-size:x-small;">'."\n";
+		print '<input type="text" size="10" name="'.$prefix.'" value="'.$set_color.'" maxlength="7" class="flat">'."\n";
 		print '</td><td valign="middle">';
 		print '<img src="'.DOL_URL_ROOT.'/theme/common/colorpicker.png" width="21" height="20" border="0" onClick="fctShow(document.'.$form_name.'.'.$prefix.');" style="cursor:pointer;">'."\n";
 		print '</td></tr></table>';