#1F1F7E Hexadecimal color code
#1F1F7E Hex Color Information
The #1F1F7E hex color is represented by the (31,31,126) RGB color. It is composed of 12.2% red, 12.2% green and 49.4% blue. In the CMYK colorspace (Process color), its composition is 75.397% cyan, 75.397% magenta, 0% yellow and 50.588% black (Key). In its HSL representation (Cylindrical-coordinates), it has a hue angle of 240 degrees, a saturation of 60.5% and a lightness of 30.8%. #1F1F7E websafe color is #333366.
|RGB Decimal||31, 31, 126|
|RGB Percent||12.2%, 12.2%, 49.4%|
|CMYK||75.397, 75.397, 0, 50.588|
|HSL||240°, 60.51%, 30.784%|
|HSV||240°, 75.304%, 49.4%|
|WebSafe Decimal||51, 51, 102|
|XYZ||4.821, 2.778, 20.021|
|CIE-LAB||19.13, 33.66, -53.159|
|Yxy||2.778, 0.175, 0.101|
#1F1F7E Color charts
RGB color chart for #1F1F7E
CMYK color chart for #1F1F7E
Shades of #1F1F7E
A shade is obtained by adding black to the original color, which reduces its lightness. To know more about shades, you can go to the color theory shade section.
Tints of #1F1F7E
A tint is obtained by adding white to the original color, which increases its lightness. To know more about tints, you can go to the color theory tint section.
Tones of #1F1F7E
A tone is obtained by adding gray to the original color. To know more about tones, you can go to the color theory tone section.
Color Schemes with #1F1F7E
Color Schemes are part of the color harmony domain. They are simple concepts that explains how to pick together harmonious colors. Below are some schemes for the #1F1F7E color.
Similar colors to #1F1F7E
Below are some similar colors to #1F1F7E.
#1F1F7E color preview on black background
A color sometimes looks different when it's surrounded by other colours. To help you see how the #1F1F7E hex color may look on different backgrounds, we're showing it to you on a black background.
#1F1F7E text on a black background
#1F1F7E color preview on white background
And the #1F1F7E colour on a white background.
#1F1F7E text on a white background
#1F1F7E Color CSS Codes
To use the #1F1F7E hex color on your website, you will find some CSS code samples that will help you. The sample css codes will show you how to use font color, link color, background color and border color.
#1F1F7E CSS Background color
This element has a background color of #1F1F7E
<p style="background-color:#1F1F7E;">Content here</p>
#1F1F7E CSS Border Color
This element has a border color of #1F1F7E
<div style="border:1px solid #1F1F7E;">Content here</div>
#1F1F7E CSS Text Font Color
This text has a font color of #1F1F7E
<span style="color:#1F1F7E;">Text here</span>
#1F1F7E CSS Link Color
This link has a color of #1F1F7E
<a style="color:#1F1F7E;">Link here</a>