COLOR #2A334F

HEX: #2A334F
RGB: (42,51,79)

Color info

#2A334F contains red, green and blue colors in about the same proportion. Web safe color of #2A334F is #333366 (or #336).

RGB color model

#2A334F color RGB value is (42,51,79).

  • red value is 42;
  • green value is 51;
  • blue value is 79.
RGB:
(42,51,79)
(16%,20%,31%)

RGB channels and saturation

R 42 of 255 = 16%
G 51 of 255 = 20%
B 79 of 255 = 31%

42
51
79

R + G + B ~ 22%. #2A334F is dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 51 + 79 = 172 (100%)
R 42 of 172 ~ 24.42%
G 51 of 172 ~ 29.65%
B 79 of 172 ~ 45.93%

%24.42
%29.65
%45.93

CMYK color model

#2A334F color CMYK value is (47,35,0,69).

  • cyan value is 46.84%
  • magenta value is 35.44%
  • yellow value is 0.00%
  • key color value is 69.02%
CMYK:
(47,35,0,69)
C47M35Y0K69 
(47%,35%,0%,69%)
(0.47/0.35/0.00/0.69)	

CMYK percentages

%46.84
%35.44
%0
%69.02

Codes

Color #2A334F in popluar color models

2A334F
RGB425179
HSL225°30.58%23.73%
HSB/HSV225°46.84%30.98%
CMYK46.84%35.44%0.00%
69.02%

Color #2A334F in popluar number systems.

HEX2A334F
Decimal425179
Binary1010101100111001111
Octal5263117

Shades and tints

Shades of #2A334F

#2A334F
(42,51,79)
#272F48
(39,47,72)
#242B41
(36,43,65)
#21273A
(33,39,58)
#1E2333
(30,35,51)
#1B1F2C
(27,31,44)
#181B25
(24,27,37)
#15171E
(21,23,30)
#121317
(18,19,23)
#0F0F10
(15,15,16)
#0C0B09
(12,11,9)
#000000
(0,0,0)

Tints of #2A334F

#2A334F
(42,51,79)
#3D455F
(61,69,95)
#50576F
(80,87,111)
#63697F
(99,105,127)
#767B8F
(118,123,143)
#898D9F
(137,141,159)
#9C9FAF
(156,159,175)
#AFB1BF
(175,177,191)
#C2C3CF
(194,195,207)
#D5D5DF
(213,213,223)
#E8E7EF
(232,231,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A334F color. Also use rgb(42,51,79) instead hex code.

Text Font Color

.myTextColor { color: #2A334F; }

<p style="color:#2A334F">This sample text font color is #2A334F.</p>

This text font color is #2A334F.


Background Color

.myBgColor { background-color: #2A334F; }

<div style="background-color:#2A334F">Inner text</div>

This div background color is #2A334F.


Border color

.myBorderColor { border: 1px solid #2A334F; }

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

This div border color is #2A334F.


Opacity

.myOpacity80 { color: #2A334F; opacity: 0.8; }

<p style="color:#2A334F;opacity:0.8;">80%</p>

Text with #2A334F color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #2A334F;}

<p style="text-shadow: 3px 3px 1px #2A334F">Text here.</p>

This text has shadow with #2A334F color.

.textShadow {text-shadow: 3px 3px 1px #2A334F, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #2A334F, 5px 5px 20px red">Text here.</p>

This text has shadow with #2A334F primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#2A334F, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#2A334F, Direction=45, Strength=4)">Text</p>

This text has shadow with #2A334F and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #2A334F;
  -webkit-box-shadow:	1px 1px 3px 2px #2A334F;
  box-shadow:		1px 1px 3px 2px #2A334F;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #2A334F;
-webkit-box-shadow: 1px 1px 3px 2px #2A334F;
box-shadow:1px 1px 3px 2px #2A334F;">
Div content here</div>
This div box has shadow with color #2A334F.

Preview

Color preview on black background

This text has color #2A334F on black background.


Color preview on white background

This text has color #2A334F on white background.



Black color preview on #2A334F background

This text has black color on #2A334F background.


White color preview on #2A334F background

This text has white color on #2A334F background.