Menu

RGB Color Conversion

Convert RGB colors to other formats including Hex, HSL, HSV, and OKLCH. Use the sliders or input fields to adjust the RGB values.

RGB Values

Color Preview

RGB: rgb(0, 0, 0)

Hexadecimal (Hex)

#000000

HSL

hsl(0, 0%, 0%)

HSV

hsv(0, 0%, 0%)

OKLCH

oklch(0 0 0)

About RGB Color Format

RGB (Red, Green, Blue) is the standard color model for digital displays. Each color is created by mixing different amounts of red, green, and blue light, with values ranging from 0 to 255 for each channel.

How to Use This Tool

  1. Use the sliders or input fields to adjust the red, green, and blue values (0-255).
  2. See the color preview update in real-time.
  3. View the automatic conversions to other color formats (Hex, HSL, HSV, OKLCH).
  4. Click the "Copy" buttons to copy any color format to your clipboard.

Color Format Details

  • RGB: Values from 0-255 for each channel (Red, Green, Blue).
  • Hex: 6-digit hexadecimal representation (#RRGGBB).
  • HSL: Hue (0-360°), Saturation (0-100%), Lightness (0-100%).
  • HSV: Hue (0-360°), Saturation (0-100%), Value (0-100%).
  • OKLCH: Perceptually uniform color space with Lightness, Chroma, and Hue.

Common RGB Values

  • Black: rgb(0, 0, 0)
  • White: rgb(255, 255, 255)
  • Red: rgb(255, 0, 0)
  • Green: rgb(0, 255, 0)
  • Blue: rgb(0, 0, 255)
  • Yellow: rgb(255, 255, 0)
  • Cyan: rgb(0, 255, 255)
  • Magenta: rgb(255, 0, 255)