1 2 3 4 5 6 7 8 9 10 11
<!DOCTYPE html> <html> <style> input[type="color"]::-moz-color-swatch { margin-top: 3px; margin-bottom: 3px; } </style> <body> <input type="color" /> </body>