Color Hex Logo

#2ab21f Color Hex

#2AB21F
(42,178,31)
0 Favorites   0 Comments

Color spaces of #2ab21f

RGB 4217831
HSL0.320.700.41
HSV116°83°70°
CMYK 0.760.000.83   0.30
XYZ17.122632.43206.6539
Yxy32.43200.30460.5770
Hunter Lab56.9491-45.992232.9370
CIE-Lab63.6983-61.138758.6334

#2ab21f color RGB value is (42,178,31).

#2ab21f hex color red value is 42, green value is 178 and the blue value of its RGB is 31. Cylindrical-coordinate representations (also known as HSL) of color #2ab21f hue: 0.32 , saturation: 0.70 and the lightness value of 2ab21f is 0.41.

The process color (four color CMYK) of #2ab21f color hex is 0.76, 0.00, 0.83, 0.30. Web safe color of #2ab21f is #339933. Color #2ab21f contains mainly GREEN color.

Base Numbers

BaseRedGreenBlue
Binary 00101010 10110010 00011111
Octal 52 262 37
Decimal 42 178 31
Hex 2A B2 1F

RGB Percentages of Color #2ab21f

%16.73
%70.92
%12.35

CMYK Percentages of Color #2ab21f

%76
%0
%83
%30

Triadic Colors of #2ab21f

#2ab21f #1f2ab2 #b21f2a

Analogous Colors of #2ab21f

#2ab21f #1fb25e #74b21f

Monochromatic Colors of #2ab21f

#2ab21f

Complementary Color

#2ab21f #a71fb2

#2ab21f Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2ab21f Color Preview on White Background

Lorem ipsum dolor sit amet.

#2ab21f Color CSS Codes

.mybgcolor {background-color:#2ab21f; } 
.myforecolor {color:#2ab21f; }
.mybordercolor {border:3px solid #2ab21f; }

#2ab21f Text Font Color

<p style="color:#2ab21f">Text here</p>

This sample text font color is #2ab21f
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.


#2ab21f Background Color

<div style="background-color:#2ab21f">
Div content here</div>

This div background color is #2ab21f


#2ab21f Border Color

<div style="border:3px solid #2ab21f">
Div here</div>

This div border color is #2ab21f


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(42,178,31, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #2ab21f; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #2ab21f;
  -webkit-box-shadow: 1px 1px 3px 2px #2ab21f;
  box-shadow:         1px 1px 3px 2px #2ab21f; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(42,178,31, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

<p style="text-shadow: 4px 4px 2px #2ab21f">Text here</p>

This text has shadow with hex values.


Div Box Shadow

<div style="-moz-box-shadow: 1px 1px 3px 2px #2ab21f;
  -webkit-box-shadow: 1px 1px 3px 2px #2ab21f;
  box-shadow:         1px 1px 3px 2px #2ab21f;">
Div content here</div>

This div box has shadow with color #2ab21f


Comments

No comments written yet.

Please login to write comment.