COLOR #28336B

HEX: #28336B
RGB: (40,51,107)

Color info

#28336B contains mainly green and blue colors. Web safe color of #28336B is #333366 (or #336).

RGB color model

#28336B color RGB value is (40,51,107).

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

RGB channels and saturation

R 40 of 255 = 16%
G 51 of 255 = 20%
B 107 of 255 = 42%

40
51
107

R + G + B ~ 26%. #28336B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
40 + 51 + 107 = 198 (100%)
R 40 of 198 ~ 20.2%
G 51 of 198 ~ 25.76%
B 107 of 198 ~ 54.04%

%20.2
%25.76
%54.04

CMYK color model

#28336B color CMYK value is (63,52,0,58).

  • cyan value is 62.62%
  • magenta value is 52.34%
  • yellow value is 0.00%
  • key color value is 58.04%
CMYK:
(63,52,0,58)
C63M52Y0K58 
(63%,52%,0%,58%)
(0.63/0.52/0.00/0.58)	

CMYK percentages

%62.62
%52.34
%0
%58.04

Codes

Color #28336B in popluar color models

28336B
RGB4051107
HSL230°45.58%28.82%
HSB/HSV230°62.62%41.96%
CMYK62.62%52.34%0.00%
58.04%

Color #28336B in popluar number systems.

HEX28336B
Decimal4051107
Binary1010001100111101011
Octal5063153

Shades and tints

Shades of #28336B

#28336B
(40,51,107)
#252F62
(37,47,98)
#222B59
(34,43,89)
#1F2750
(31,39,80)
#1C2347
(28,35,71)
#191F3E
(25,31,62)
#161B35
(22,27,53)
#13172C
(19,23,44)
#101323
(16,19,35)
#0D0F1A
(13,15,26)
#0A0B11
(10,11,17)
#000000
(0,0,0)

Tints of #28336B

#28336B
(40,51,107)
#3B4578
(59,69,120)
#4E5785
(78,87,133)
#616992
(97,105,146)
#747B9F
(116,123,159)
#878DAC
(135,141,172)
#9A9FB9
(154,159,185)
#ADB1C6
(173,177,198)
#C0C3D3
(192,195,211)
#D3D5E0
(211,213,224)
#E6E7ED
(230,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #28336B color. Also use rgb(40,51,107) instead hex code.

Text Font Color

.myTextColor { color: #28336B; }

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

This text font color is #28336B.


Background Color

.myBgColor { background-color: #28336B; }

<div style="background-color:#28336B">Inner text</div>

This div background color is #28336B.


Border color

.myBorderColor { border: 1px solid #28336B; }

<div style="border:3px solid #28336B">Div</div>

This div border color is #28336B.


Opacity

.myOpacity80 { color: #28336B; opacity: 0.8; }

<p style="color:#28336B;opacity:0.8;">80%</p>

Text with #28336B 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 #28336B;}

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

This text has shadow with #28336B color.

.textShadow {text-shadow: 3px 3px 1px #28336B, 3px 3px 1px red;}

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

This text has shadow with #28336B primary color and red secondary color.


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

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

This text has shadow with #28336B and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #28336B on black background.


Color preview on white background

This text has color #28336B on white background.



Black color preview on #28336B background

This text has black color on #28336B background.


White color preview on #28336B background

This text has white color on #28336B background.