Color Hex Logo

#40798b Color Hex

#40798B
(64,121,139)
0 Favorites   0 Comments

Color spaces of #40798b

RGB 64121139
HSL0.540.370.40
HSV194°54°55°
CMYK 0.540.130.00   0.45
XYZ13.611916.628826.9184
Yxy16.62880.23810.2909
Hunter Lab40.7784-11.7787-10.5932
CIE-Lab47.7889-13.3566-15.5431

#40798b color RGB value is (64,121,139).

#40798b hex color red value is 64, green value is 121 and the blue value of its RGB is 139. Cylindrical-coordinate representations (also known as HSL) of color #40798b hue: 0.54 , saturation: 0.37 and the lightness value of 40798b is 0.40.

The process color (four color CMYK) of #40798b color hex is 0.54, 0.13, 0.00, 0.45. Web safe color of #40798b is #336699. Color #40798b contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 01111001 10001011
Octal 100 171 213
Decimal 64 121 139
Hex 40 79 8B

RGB Percentages of Color #40798b

%19.75
%37.35
%42.90

CMYK Percentages of Color #40798b

%54
%13
%0
%45

Triadic Colors of #40798b

#40798b #8b4079 #798b40

Analogous Colors of #40798b

#40798b #40548b #408b78

Monochromatic Colors of #40798b

#40798b

Complementary Color

#40798b #8b5240

#40798b Color Preview on Black Background

Lorem ipsum dolor sit amet.

#40798b Color Preview on White Background

Lorem ipsum dolor sit amet.

#40798b Color CSS Codes

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

#40798b Text Font Color

<p style="color:#40798b">Text here</p>

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


#40798b Background Color

<div style="background-color:#40798b">
Div content here</div>

This div background color is #40798b


#40798b Border Color

<div style="border:3px solid #40798b">
Div here</div>

This div border color is #40798b


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(64,121,139, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #40798b; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #40798b;
  -webkit-box-shadow: 1px 1px 3px 2px #40798b;
  box-shadow:         1px 1px 3px 2px #40798b; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(64,121,139, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #40798b


Comments

No comments written yet.

Please login to write comment.