Color spaces of #2a1e78
RGB | 42 | 30 | 120 |
---|---|---|---|
HSL | 0.69 | 0.60 | 0.29 |
HSV | 248° | 75° | 47° |
CMYK | 0.65 | 0.75 | 0.00 0.53 |
XYZ | 4.8093 | 2.7769 | 18.0518 |
Yxy | 2.7769 | 0.1876 | 0.1083 |
Hunter Lab | 16.6640 | 22.3537 | -52.5628 |
CIE-Lab | 19.1273 | 33.5237 | -49.3068 |
#2a1e78 color RGB value is (42,30,120).
#2a1e78 hex color red value is 42, green value is 30 and the blue value of its RGB is 120. Cylindrical-coordinate representations (also known as HSL) of color #2a1e78 hue: 0.69 , saturation: 0.60 and the lightness value of 2a1e78 is 0.29.
The process color (four color CMYK) of #2a1e78 color hex is 0.65, 0.75, 0.00, 0.53. Web safe color of #2a1e78 is #333366. Color #2a1e78 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00101010 | 00011110 | 01111000 |
Octal | 52 | 36 | 170 |
Decimal | 42 | 30 | 120 |
Hex | 2A | 1E | 78 |
Shades of #2a1e78
Tints of #2a1e78
RGB Percentages of Color #2a1e78
CMYK Percentages of Color #2a1e78
Complementary Color
#2a1e78 | #6c781e |
#2a1e78 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#2a1e78 Color Preview on White Background
Lorem ipsum dolor sit amet.
#2a1e78 Color CSS Codes
.mybgcolor {background-color:#2a1e78; } .myforecolor {color:#2a1e78; } .mybordercolor {border:3px solid #2a1e78; }
#2a1e78 Text Font Color
<p style="color:#2a1e78">Text here</p>
This sample text font color is #2a1e78
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.
#2a1e78 Background Color
<div style="background-color:#2a1e78">
Div content here</div>
This div background color is #2a1e78
#2a1e78 Border Color
<div style="border:3px solid #2a1e78">
Div here</div>
This div border color is #2a1e78
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(42,30,120, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #2a1e78; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2a1e78; -webkit-box-shadow: 1px 1px 3px 2px #2a1e78; box-shadow: 1px 1px 3px 2px #2a1e78; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(42,30,120, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #2a1e78">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #2a1e78; -webkit-box-shadow: 1px 1px 3px 2px #2a1e78; box-shadow: 1px 1px 3px 2px #2a1e78;">
Div content here</div>
This div box has shadow with color #2a1e78
Comments
No comments written yet.
Please login to write comment.