What is the RGB code for darkviolet?
The CSS color darkviolet in RGB format is rgb(148, 0, 211). Use this value directly in CSS, SVG, and most design tools.
How do I use darkviolet in CSS?
To apply darkviolet in CSS:
- Text color: color: rgb(148, 0, 211);
- Background: background-color: rgb(148, 0, 211);
- Border: border-color: rgb(148, 0, 211);
What are all the color format values for darkviolet?
| Format | Value |
|---|---|
| HEX | #9400d3 |
| RGB | rgb(148, 0, 211) |
| HSL | hsl(282.1, 100%, 41.4%) |
| CMYK | cmyk(29.9%, 100%, 0%, 17.3%) |
How do I convert darkviolet to RGB?
Select darkviolet from the color name list in our color converter. The RGB value — rgb(148, 0, 211) — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does darkviolet belong to?
darkviolet belongs to the purple color family. It is a medium, vivid color with HSL values: hue 282.1°, saturation 100%, lightness 41.4%.
How do I create lighter and darker shades of darkviolet?
Lighter variant (lightness 56.4%): #bd21ff. Darker variant (lightness 26.4%): #5e0087. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.
What is RGB used for?
RGB defines colors using three values from 0 to 255 — red, green and blue intensity. It is the native format for screens, monitors and web browsers.