Color spaces of #1f122a
RGB | 31 | 18 | 42 |
---|---|---|---|
HSL | 0.76 | 0.40 | 0.12 |
HSV | 273° | 57° | 16° |
CMYK | 0.26 | 0.57 | 0.00 0.84 |
XYZ | 1.1993 | 0.8911 | 2.2993 |
Yxy | 0.8911 | 0.2732 | 0.2030 |
Hunter Lab | 9.4398 | 6.1582 | -7.8337 |
CIE-Lab | 8.0492 | 12.7434 | -13.8168 |
#1f122a color RGB value is (31,18,42).
#1f122a hex color red value is 31, green value is 18 and the blue value of its RGB is 42. Cylindrical-coordinate representations (also known as HSL) of color #1f122a hue: 0.76 , saturation: 0.40 and the lightness value of 1f122a is 0.12.
The process color (four color CMYK) of #1f122a color hex is 0.26, 0.57, 0.00, 0.84. Web safe color of #1f122a is #330033. Color #1f122a contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00011111 | 00010010 | 00101010 |
Octal | 37 | 22 | 52 |
Decimal | 31 | 18 | 42 |
Hex | 1F | 12 | 2A |
Shades of #1f122a
Tints of #1f122a
RGB Percentages of Color #1f122a
CMYK Percentages of Color #1f122a
Complementary Color
#1f122a | #1d2a12 |
#1f122a Color Preview on Black Background
Lorem ipsum dolor sit amet.
#1f122a Color Preview on White Background
Lorem ipsum dolor sit amet.
#1f122a Color CSS Codes
.mybgcolor {background-color:#1f122a; } .myforecolor {color:#1f122a; } .mybordercolor {border:3px solid #1f122a; }
#1f122a Text Font Color
<p style="color:#1f122a">Text here</p>
This sample text font color is #1f122a
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
#1f122a Background Color
<div style="background-color:#1f122a">
Div content here</div>
This div background color is #1f122a
#1f122a Border Color
<div style="border:3px solid #1f122a">
Div here</div>
This div border color is #1f122a
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(31,18,42, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #1f122a; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #1f122a; -webkit-box-shadow: 1px 1px 3px 2px #1f122a; box-shadow: 1px 1px 3px 2px #1f122a; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(31,18,42, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #1f122a">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #1f122a; -webkit-box-shadow: 1px 1px 3px 2px #1f122a; box-shadow: 1px 1px 3px 2px #1f122a;">
Div content here</div>
This div box has shadow with color #1f122a
Comments
No comments written yet.
Please login to write comment.