Color spaces of #2ab942
RGB | 42 | 185 | 66 |
---|---|---|---|
HSL | 0.36 | 0.63 | 0.45 |
HSV | 130° | 77° | 73° |
CMYK | 0.77 | 0.00 | 0.64 0.27 |
XYZ | 19.2872 | 35.5835 | 11.0060 |
Yxy | 35.5835 | 0.2928 | 0.5402 |
Hunter Lab | 59.6519 | -46.6766 | 30.8171 |
CIE-Lab | 66.2005 | -60.4930 | 48.5598 |
#2ab942 color RGB value is (42,185,66).
#2ab942 hex color red value is 42, green value is 185 and the blue value of its RGB is 66. Cylindrical-coordinate representations (also known as HSL) of color #2ab942 hue: 0.36 , saturation: 0.63 and the lightness value of 2ab942 is 0.45.
The process color (four color CMYK) of #2ab942 color hex is 0.77, 0.00, 0.64, 0.27. Web safe color of #2ab942 is #33cc33. Color #2ab942 contains mainly GREEN color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00101010 | 10111001 | 01000010 |
Octal | 52 | 271 | 102 |
Decimal | 42 | 185 | 66 |
Hex | 2A | B9 | 42 |
Shades of #2ab942
Tints of #2ab942
RGB Percentages of Color #2ab942
CMYK Percentages of Color #2ab942
Complementary Color
#2ab942 | #b92aa1 |
#2ab942 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#2ab942 Color Preview on White Background
Lorem ipsum dolor sit amet.
#2ab942 Color CSS Codes
.mybgcolor {background-color:#2ab942; } .myforecolor {color:#2ab942; } .mybordercolor {border:3px solid #2ab942; }
#2ab942 Text Font Color
<p style="color:#2ab942">Text here</p>
This sample text font color is #2ab942
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.
#2ab942 Background Color
<div style="background-color:#2ab942">
Div content here</div>
This div background color is #2ab942
#2ab942 Border Color
<div style="border:3px solid #2ab942">
Div here</div>
This div border color is #2ab942
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(42,185,66, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #2ab942; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2ab942; -webkit-box-shadow: 1px 1px 3px 2px #2ab942; box-shadow: 1px 1px 3px 2px #2ab942; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(42,185,66, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #2ab942">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #2ab942; -webkit-box-shadow: 1px 1px 3px 2px #2ab942; box-shadow: 1px 1px 3px 2px #2ab942;">
Div content here</div>
This div box has shadow with color #2ab942
Comments
No comments written yet.
Please login to write comment.