Color Hex Logo

#42798b Color Hex

#42798B
(66,121,139)
0 Favorites   0 Comments

Color spaces of #42798b

RGB 66121139
HSL0.540.360.40
HSV195°53°55°
CMYK 0.530.130.00   0.45
XYZ13.744316.697126.9246
Yxy16.69710.23960.2911
Hunter Lab40.8621-11.4687-10.4636
CIE-Lab47.8761-12.8871-15.4023

#42798b color RGB value is (66,121,139).

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

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

Base Numbers

BaseRedGreenBlue
Binary 01000010 01111001 10001011
Octal 102 171 213
Decimal 66 121 139
Hex 42 79 8B

RGB Percentages of Color #42798b

%20.25
%37.12
%42.64

CMYK Percentages of Color #42798b

%53
%13
%0
%45

Triadic Colors of #42798b

#42798b #8b4279 #798b42

Analogous Colors of #42798b

#42798b #42558b #428b79

Monochromatic Colors of #42798b

#42798b

Complementary Color

#42798b #8b5442

#42798b Color Preview on Black Background

Lorem ipsum dolor sit amet.

#42798b Color Preview on White Background

Lorem ipsum dolor sit amet.

#42798b Color CSS Codes

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

#42798b Text Font Color

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

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


#42798b Background Color

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

This div background color is #42798b


#42798b Border Color

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

This div border color is #42798b


Css3 Examples

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

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(66,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 #42798b">Text here</p>

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #42798b


Comments

No comments written yet.

Please login to write comment.