RGB To HSV Color Conversion
Có thể bạn quan tâm
RGB to HSV color conversion
Enter 6 digits hex code or enter red, green and blue color levels (0..255) and press the Convert button:
Enter RGB hex code (#): | |
or | |
Enter red color (R): | |
Enter green color (G): | |
Enter blue color (B): | |
Hue (H): | ° |
Saturation (S): | % |
Value (V): | % |
Color preview: |
HSV to RGB conversion ►
RGB to HSV conversion formula
The R,G,B values are divided by 255 to change the range from 0..255 to 0..1:
R' = R/255
G' = G/255
B' = B/255
Cmax = max(R', G', B')
Cmin = min(R', G', B')
Δ = Cmax - Cmin
Hue calculation:
Saturation calculation:
Value calculation:
V = Cmax
RGB to HSV color table
Color | Color name | Hex | (R,G,B) | (H,S,V) |
---|---|---|---|---|
Black | #000000 | (0,0,0) | (0°,0%,0%) | |
White | #FFFFFF | (255,255,255) | (0°,0%,100%) | |
Red | #FF0000 | (255,0,0) | (0°,100%,100%) | |
Lime | #00FF00 | (0,255,0) | (120°,100%,100%) | |
Blue | #0000FF | (0,0,255) | (240°,100%,100%) | |
Yellow | #FFFF00 | (255,255,0) | (60°,100%,100%) | |
Cyan | #00FFFF | (0,255,255) | (180°,100%,100%) | |
Magenta | #FF00FF | (255,0,255) | (300°,100%,100%) | |
Silver | #BFBFBF | (191,191,191) | (0°,0%,75%) | |
Gray | #808080 | (128,128,128) | (0°,0%,50%) | |
Maroon | #800000 | (128,0,0) | (0°,100%,50%) | |
Olive | #808000 | (128,128,0) | (60°,100%,50%) | |
Green | #008000 | (0,128,0) | (120°,100%,50%) | |
Purple | #800080 | (128,0,128) | (300°,100%,50%) | |
Teal | #008080 | (0,128,128) | (180°,100%,50%) | |
Navy | #000080 | (0,0,128) | (240°,100%,50%) |
HSV to RGB conversion ►
See also
- How to convert RGB to hex
- Hex to RGB converter
- HSV to RGB converter
- RGB color codes
- Image conversion
Từ khóa » Hsv Color Space Red
-
Color Filtering/Segmentation/Detection – HSV - Computer Vision
-
OpenCV Better Detection Of Red Color? - Stack Overflow
-
Detecting Colors (Hsv Color Space) - Opencv With Python - Pysource
-
How To Find The RED Color Regions Using OpenCV? - Coding Discuss
-
HSL And HSV - Wikipedia
-
Color (Image Processing Toolbox)
-
What Is The HSV (Hue, Saturation, Value) Color Model? - Lifewire
-
Red Ball Detection Using HSV Color Space Linear Classification. (A)
-
How Can I Define Red Color In HSV Space - - MathWorks
-
Color Models And Color Spaces - Programming Design Systems
-
Distinguish Red Color From White Is HSV Or Similar Color Space?
-
HSV And YCrCb Color Spaces - AI Shack
-
5.2 The HSV Colorspace