Color Hex Logo

#2f187e Color Hex

#2F187E
(47,24,126)
0 Favorites   0 Comments

Color spaces of #2f187e

RGB 4724126
HSL0.700.680.29
HSV254°81°49°
CMYK 0.630.810.00   0.51
XYZ5.26482.764019.9947
Yxy2.76400.18790.0986
Hunter Lab16.625327.4321-59.6685
CIE-Lab19.072839.4218-53.2090

#2f187e color RGB value is (47,24,126).

#2f187e hex color red value is 47, green value is 24 and the blue value of its RGB is 126. Cylindrical-coordinate representations (also known as HSL) of color #2f187e hue: 0.70 , saturation: 0.68 and the lightness value of 2f187e is 0.29.

The process color (four color CMYK) of #2f187e color hex is 0.63, 0.81, 0.00, 0.51. Web safe color of #2f187e is #330066. Color #2f187e contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00101111 00011000 01111110
Octal 57 30 176
Decimal 47 24 126
Hex 2F 18 7E

RGB Percentages of Color #2f187e

%23.86
%12.18
%63.96

CMYK Percentages of Color #2f187e

%63
%81
%0
%51

Triadic Colors of #2f187e

#2f187e #7e2f18 #187e2f

Analogous Colors of #2f187e

#2f187e #62187e #18347e

Monochromatic Colors of #2f187e

#2f187e

Complementary Color

#2f187e #677e18

#2f187e Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2f187e Color Preview on White Background

Lorem ipsum dolor sit amet.

#2f187e Color CSS Codes

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

#2f187e Text Font Color

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

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


#2f187e Background Color

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

This div background color is #2f187e


#2f187e Border Color

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

This div border color is #2f187e


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(47,24,126, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #2f187e; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #2f187e;
  -webkit-box-shadow: 1px 1px 3px 2px #2f187e;
  box-shadow:         1px 1px 3px 2px #2f187e; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(47,24,126, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #2f187e


Comments

No comments written yet.

Please login to write comment.