Color and Color Codes - HTML, RGB, HSL

Jul 6, 2015Harkawal Jeet Singh Official Guide

Color Codes & Palette Studio

Interactive HEX, RGB, and HSL converter
Click swatch to open color wheel
HEX Code#3B82F6
RGBrgb(59, 130, 246)
HSLhsl(217, 91%, 60%)
Theme & Modern Presets:

Instructions & Color Systems Guide

When this color studio page loads, you can use the interactive color picker, color preview box, and live conversion matrix into HEX, RGB, and HSL color spaces.

Color Formats Explained:

  • HEX (Hexadecimal): A 6-character combination of numbers and letters preceded by #. Used universally across web design and CSS (e.g. #3B82F6).
  • RGB (Red, Green, Blue): Defines color intensity through three color channels from 0 to 255 (e.g. rgb(59, 130, 246)).
  • HSL (Hue, Saturation, Lightness): A cylindrical-coordinate representation of color where Hue is an angle ($0^\circ$ to $360^\circ$), Saturation is vibrancy ($0%$ to $100%$), and Lightness is brightness ($0%$ to $100%$).

How to Use the Studio:

  1. Interactive Color Wheel: Click the large color swatch to open your operating system or browser's native color picker.
  2. Instant Code Copy: Click Copy next to any format (HEX, RGB, or HSL) to copy the exact CSS value to your clipboard.
  3. Palette Presets: Explore our curated theme palette presets (Pulse Crimson, Emerald, Oceanic, Cyberpunk, and more) to quickly test modern web gradients.