Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHDERUPTENFRES

Elysia Tools

Navigation

Validation

Color Code Samples

Collection of color codes in various formats (Hex, RGB, HSL, named colors) for validation testing

Samples

Entries inside this sample collection

TextSimple

Common Color Code Formats

A list of color codes in Hex, RGB, HSL, RGBA, HSLA, and named color formats

plaintext
# 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

Tools

Tools frequently paired with this sample

Related

Related sample collections

Related

Related workflows

Hub

Application Field Policy Validation

Define and test product-owned password and color-code rules while separating application allowlists and ranges from generic validator results.

Hub

Email, Phone, and Postal Code Field Validation

Check email, phone, and postal code syntax with country or region context for single values and batches, while keeping format results separate from deliverability, reachability, and address existence.

Hub

Barcode and QR Code Workflow

Create, decode, validate, verify, and print barcodes or QR codes for products, links, WiFi, and labels.

Hub

Product, Publication, and Logistics Code Validation

Check ISBN, UPC/EAN/GTIN, and carrier tracking identifiers for supported formats and available check digits before a catalog or shipment handoff.

Home
Tools3212
Workbench
Samples593
Visualizations471
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact

Validation

Color Code Validator

Validate Hex (#FFF, #RRGGBB), RGB/RGBA, HSL/HSLA color code syntax

Design

Color Converter

Convert between different color formats

Design

Color Gradient Generator

Generate smooth color gradients between multiple colors with customizable steps and formats

Design

Image Color Picker

Pick colors from images by specifying coordinates. Get color values in HEX, RGB, HSL, HSV, and CMYK formats.

Design

Color Expander

Expand 3-digit HEX codes to 6-digit codes (e.g., #FFF to #FFFFFF)

Design

Color Shortener

Shorten 6-digit HEX codes to 3-digit codes (e.g., #FFFFFF to #FFF)

Math & Numbers

Resistor Color Code Calculator

Decode and encode 4-band, 5-band, 6-band, and SMD resistor markings

Design

Color Inverter

Invert colors and create negative versions with RGB, HSL, and brightness inversion methods

Validation

US City & ZIP Code Samples

Collection of US cities with their ZIP codes for validation testing

Validation

Regex Pattern Alternatives

Multiple ways to write the same regex pattern with different trade-offs in readability, performance, and accuracy

Media

SVG Samples

Scalable Vector Graphics (SVG) samples demonstrating various SVG features and techniques

Validation

Credit Card Samples

Valid credit card number samples for various networks (Visa, MasterCard, Amex, etc.) for testing purposes

Validation

Date & Time Samples

Collection of date and time strings in various formats for validation testing

Validation

EU VAT Number Samples

Collection of EU VAT numbers from all member states for validation testing