Color spaces of #2a1f85
RGB | 42 | 31 | 133 |
---|---|---|---|
HSL | 0.68 | 0.62 | 0.32 |
HSV | 246° | 77° | 52° |
CMYK | 0.68 | 0.77 | 0.00 0.48 |
XYZ | 5.6785 | 3.1657 | 22.5020 |
Yxy | 3.1657 | 0.1812 | 0.1010 |
Hunter Lab | 17.7924 | 25.8321 | -62.5292 |
CIE-Lab | 20.6956 | 37.2938 | -54.9769 |
#2a1f85 color RGB value is (42,31,133).
#2a1f85 hex color red value is 42, green value is 31 and the blue value of its RGB is 133. Cylindrical-coordinate representations (also known as HSL) of color #2a1f85 hue: 0.68 , saturation: 0.62 and the lightness value of 2a1f85 is 0.32.
The process color (four color CMYK) of #2a1f85 color hex is 0.68, 0.77, 0.00, 0.48. Web safe color of #2a1f85 is #333399. Color #2a1f85 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00101010 | 00011111 | 10000101 |
Octal | 52 | 37 | 205 |
Decimal | 42 | 31 | 133 |
Hex | 2A | 1F | 85 |
Shades of #2a1f85
Tints of #2a1f85
RGB Percentages of Color #2a1f85
CMYK Percentages of Color #2a1f85
Complementary Color
#2a1f85 | #7a851f |
#2a1f85 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#2a1f85 Color Preview on White Background
Lorem ipsum dolor sit amet.
#2a1f85 Color CSS Codes
.mybgcolor {background-color:#2a1f85; } .myforecolor {color:#2a1f85; } .mybordercolor {border:3px solid #2a1f85; }
#2a1f85 Text Font Color
<p style="color:#2a1f85">Text here</p>
This sample text font color is #2a1f85
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.
#2a1f85 Background Color
<div style="background-color:#2a1f85">
Div content here</div>
This div background color is #2a1f85
#2a1f85 Border Color
<div style="border:3px solid #2a1f85">
Div here</div>
This div border color is #2a1f85
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(42,31,133, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #2a1f85; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2a1f85; -webkit-box-shadow: 1px 1px 3px 2px #2a1f85; box-shadow: 1px 1px 3px 2px #2a1f85; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(42,31,133, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #2a1f85">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #2a1f85; -webkit-box-shadow: 1px 1px 3px 2px #2a1f85; box-shadow: 1px 1px 3px 2px #2a1f85;">
Div content here</div>
This div box has shadow with color #2a1f85
Comments
No comments written yet.
Please login to write comment.