Farbcode-Beispiele

Sammlung von Farbcodes in verschiedenen Formaten (Hex, RGB, HSL, benannte Farben) für Validierungstests

📝 Gängige Farbcode-Formate

🟢 simple

Eine Liste von Farbcodes in den Formaten Hex, RGB, HSL, RGBA, HSLA und benannten Farben

# Color Code Samples
# Copy one of these lines to test the Color Code Validator

# --- Hex Short (#RGB) ---

# Red
#F00

# Green
#0F0

# Blue
#00F

# White
#FFF

# Black
#000

# --- Hex Long (#RRGGBB) ---

# Pure Red
#FF0000

# Pure Green
#00FF00

# Pure Blue
#0000FF

# White
#FFFFFF

# Black
#000000

# Gray
#808080

# Orange
#FFA500

# Purple
#800080

# Pink
#FFC0CB

# --- Hex with Alpha (#RRGGBBAA) ---

# Semi-transparent Red
#FF000080

# Semi-transparent Blue
#0000FF50

# 50% opacity White
#FFFFFF80

# --- RGB / RGBA ---

# Pure Red
rgb(255, 0, 0)

# Pure Green
rgb(0, 255, 0)

# White with spaces
rgb(255, 255, 255)

# Semi-transparent Red
rgba(255, 0, 0, 0.5)

# Transparent Blue
rgba(0, 0, 255, 0.3)

# --- HSL / HSLA ---

# Red (0 degrees)
hsl(0, 100%, 50%)

# Green (120 degrees)
hsl(120, 100%, 50%)

# Blue (240 degrees)
hsl(240, 100%, 50%)

# Semi-transparent Red
hsla(0, 100%, 50%, 0.5)

# --- Named Colors ---

# Common colors
red

green

blue

yellow

orange

purple

pink

brown

black

white

gray

cyan

magenta

lime

maroon

navy

olive

teal

silver

gold

indigo

violet

turquoise