Format Converter
RGB to HSV Converter
Convert decimal RGB channels into HSV/HSB coordinates used by graphics pickers and shader pipelines.
Converted (HSV / HSB)
hsv(173.4 89.1% 72.2%)
#14B8A6
Try presets:
How to Use This Tool
- Enter or paste your RGB value or choose one of the curated preset swatches.
- Copy the formatted HSV / HSB value directly, or inspect the secondary HEX, RGB, HSL, and OKLCH chips below.
- Click into Tailwind Scale Generator or Contrast Checker to validate accessibility on the converted shade.
Key Features
- Bidirectional parsing supporting CSS Color Level 4 syntax cleanly
- Normalize R, G, B to [0, 1]; V = max(R, G, B), S = V === 0 ? 0 : (V - min)/V, and Hue measures dominant channel sector position.
- Instant clipboard feedback with live OKLCH and Display-P3 gamut safety
- Zero server round-trips—every calculation executes immediately in browser memory
Extracting Peak Channel Value and Hue Angle
Normalize R, G, B to [0, 1]; V = max(R, G, B), S = V === 0 ? 0 : (V - min)/V, and Hue measures dominant channel sector position.
Reference Snippet (JavaScript)
const v = Math.max(r, g, b) / 255; // Brightness/Value
const d = (Math.max(r, g, b) - Math.min(r, g, b)) / 255;Frequently Asked Questions
Whenever Red, Green, and Blue are equal, Saturation is 0% regardless of brightness.
More Color Tools
View all tools →Color Converter
Convert single or bulk colors across HEX, RGB, HSL, OKLCH, P3, CMYK, and mobile formats.
Open tool
Color Picker & Eyedropper
Pick exact colors in HEX, RGB, HSL, or OKLCH and sample pixels directly from your screen.
Open tool
Tailwind Color Scale
Turn any brand color into a balanced 50–950 Tailwind scale with live contrast checks.
Open tool
Contrast Checker
Check text and UI contrast against WCAG AA/AAA and APCA standards, with 1-click fixes.
Open tool