COLOR #338AC1

HEX: #338AC1
RGB: (51,138,193)

Color info

#338AC1 contains mainly green and blue colors. Web safe color of #338AC1 is #3399CC (or #39C).

RGB color model

#338AC1 color RGB value is (51,138,193).

  • red value is 51;
  • green value is 138;
  • blue value is 193.
RGB:
(51,138,193)
(20%,54%,76%)

RGB channels and saturation

R 51 of 255 = 20%
G 138 of 255 = 54%
B 193 of 255 = 76%

51
138
193

R + G + B ~ 50%. #338AC1 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
51 + 138 + 193 = 382 (100%)
R 51 of 382 ~ 13.35%
G 138 of 382 ~ 36.13%
B 193 of 382 ~ 50.52%

%13.35
%36.13
%50.52

CMYK color model

#338AC1 color CMYK value is (74,28,0,24).

  • cyan value is 73.58%
  • magenta value is 28.50%
  • yellow value is 0.00%
  • key color value is 24.31%
CMYK:
(74,28,0,24)
C74M28Y0K24 
(74%,28%,0%,24%)
(0.74/0.28/0.00/0.24)	

CMYK percentages

%73.58
%28.5
%0
%24.31

Codes

Color #338AC1 in popluar color models

338AC1
RGB51138193
HSL203°58.20%47.84%
HSB/HSV203°73.58%75.69%
CMYK73.58%28.50%0.00%
24.31%

Color #338AC1 in popluar number systems.

HEX338AC1
Decimal51138193
Binary1100111000101011000001
Octal63212301

Shades and tints

Shades of #338AC1

#338AC1
(51,138,193)
#2F7EB0
(47,126,176)
#2B729F
(43,114,159)
#27668E
(39,102,142)
#235A7D
(35,90,125)
#1F4E6C
(31,78,108)
#1B425B
(27,66,91)
#17364A
(23,54,74)
#132A39
(19,42,57)
#0F1E28
(15,30,40)
#0B1217
(11,18,23)
#000000
(0,0,0)

Tints of #338AC1

#338AC1
(51,138,193)
#4594C6
(69,148,198)
#579ECB
(87,158,203)
#69A8D0
(105,168,208)
#7BB2D5
(123,178,213)
#8DBCDA
(141,188,218)
#9FC6DF
(159,198,223)
#B1D0E4
(177,208,228)
#C3DAE9
(195,218,233)
#D5E4EE
(213,228,238)
#E7EEF3
(231,238,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #338AC1 color. Also use rgb(51,138,193) instead hex code.

Text Font Color

.myTextColor { color: #338AC1; }

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

This text font color is #338AC1.


Background Color

.myBgColor { background-color: #338AC1; }

<div style="background-color:#338AC1">Inner text</div>

This div background color is #338AC1.


Border color

.myBorderColor { border: 1px solid #338AC1; }

<div style="border:3px solid #338AC1">Div</div>

This div border color is #338AC1.


Opacity

.myOpacity80 { color: #338AC1; opacity: 0.8; }

<p style="color:#338AC1;opacity:0.8;">80%</p>

Text with #338AC1 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 #338AC1;}

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

This text has shadow with #338AC1 color.

.textShadow {text-shadow: 3px 3px 1px #338AC1, 3px 3px 1px red;}

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

This text has shadow with #338AC1 primary color and red secondary color.


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

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

This text has shadow with #338AC1 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #338AC1 on black background.


Color preview on white background

This text has color #338AC1 on white background.



Black color preview on #338AC1 background

This text has black color on #338AC1 background.


White color preview on #338AC1 background

This text has white color on #338AC1 background.