:
logo qtransform

  to  




#40198C color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #40198C
#40198C

   In a RGB color space, hex #40198C is composed of 25% red, 10% green and 55% blue.
RGB color code is composed of a hexadecimal 40 red (64/255), a 19 green (25/255) and a 8C blue component (140/255). The decimal RGB color code is rgb(64,25,140)
In CMYK color space, it is composed of 54% cyan, 82% magenta, 0% yellow and 45% black.
It has a hue angle of 260.35o degrees, a saturation of 70% and a lightness of 32%.
Closest websafe color is: #330099 rgb (51, 0, 153).
twitter  facebook  whatsapp


Color conversion




#40198C
rgb(64,25,140)
=25%
from 255
10%
from 255
55%
from 255
=54
from 100
82
from 100
0
from 100
45
from 100
R: 64
red
G: 25
green
B: 140
blue
C: 54
cyan
M: 82
magenta
Y: 0
yellow
K: 45
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #40198C has RGB values of R:64, G:25, B:140 and CMYK values of C:54, M:82, Y:0, K:45. Its decimal value is 4200844.Binary code is 10000000001100110001100
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color40198C #40198C
RGB decimal64, 25, 140 rgb(64, 25, 140)
RGB %25, 10, 55 rgb(25%, 10%, 55%)
RGB Adobe59, 31, 136
CMYK %54, 82, 0, 45 54%, 82%, 0%, 45%
HSL260.35o, 70, 32 hsl(260.35o, 70%, 32%)
HSV (HSB)260o, 82%, 55% hsv(260o, 82%, 55%)
Web Safe color#330099 rgb (51, 0, 153)
XYZ7.196, 3.679 25.142
xyY0.2, 0.1, 3.68
Hunter-Lab19.18, 34.97, -67.85
CMY75%, 90%, 45%
Lab21.68, 39.63, -57.39
Binary color
40 19 8C
1000000 11001 10001100

Shades and tints of #40198C


A shade is achieved by adding black to original color on hue code.
A tint is created by mixing color with white.
Use the palette to pick a color or the sliders to set the RGB, HSV, CMYK components.
For example here: #0C051B is the darkest color, and: #DAD1E9 is the lightest one.

Tint color variation #40198C


Shade color variation


Tones of #40198C
A tone is produced by adding gray to any pure hue. In this case, #46238B is the less saturated color, and #6A5C85 is the most saturated one.


Alternatives to #40198C


Below, you can see some colors close to #40198C. Having a set of related colors can be useful if you need an inspirational alternative or other close colors to your original color choice.




Quick use #40198C


How to use this color on webpages, scripts or other programming languages using html, CSS, dhtml, JAVA, .NET, openGL, Swift, Xojo

Color of the text Background color example
Color of the text
Background color example

<font color="#40198C;">Text here</font>

<div style="background-color:#40198C;">Text here</div>



Color preview on black background Color preview on white background
color preview on black background
color preview on white background
HTML code

<div style="background-color:#000000"> <font color="#40198C;">Text here</font> </div>

HTML code

<div style="background-color:#FFFFFF; border: 1px dotted #999999;"> <font color="#40198C;">Text here</font> </div>



Div box shadow Text shadow css code
box shadow for color #40198C
text shadow css code
HTML code

<div style="background-color:#FFFFFF; box-shadow: 2px 2px 7px 1px #40198C;"></div>

CSS code

.box-shadow: 2px 2px 7px 1px;

CSS code

.text-shadow: 1px 2px 2px #40198C;



Box border html code Text shadow with RGB values for color #40198C
box border html code for color #40198C

text shadow with RGB values

HTML code

<div style="background-color:#FFFFFF; border:1px solid #40198C;"></div>

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(64, 25, 140, 1.4);



Pre-formatted code 40198C code for script / programming
HTML, CSS: = #40198C; rgb(64, 25, 140)
Java: = new Color(64, 25, 140)
.NET: = Color.FromArgb (64, 25, 140);
Xojo: = rgb (64, 25, 140, 0);
openGL: = glColor3f (0.25f, 0.1f, 0.55f);
Swift: = UIColor(red:0.25, green:0.1, blue:0.55, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.25 green:0.1 blue:0.55 alpha:1.00000];


Color schemes with #40198C


Monochromatic color
monochromatic color scheme

Monochromatic color schemes are easy to create because they use only one color. Monochromatic schemes use different tones from the same angle on the color wheel (the same angle).Just change color saturation +10% and you have a new monocromatic color. On our case color: 82% has a #40198C saturation. Adding 82% + 10% = 92% saturation for our new color #270866. Decreasing 82% - 10% = 72% saturation for other monochromatic color #5D32B3.

Analogous color
analogous color scheme

Analogous color schemes are created by using colors that are next to each other on the color wheel. Just +/- 30o on sides of the color hue angle.

Complementary color
complementary color scheme
Complementary schemes are created by combining colors from opposite sides of the color wheel. Simple add 180 degrees to color hue / angle and you have the complementary color. On our case color: #40198C has a 260o angle. Adding 260o + 180o = 80oo for our new complementary color #668C19.

Split color
split color scheme

Compound schemes or split complementary schemens are almost the same as complementary schemes.
Instead of using colors that are opposites, it uses colors on both sides of the opposite hue angle.
On our case color: #40198C has a 260o angle. Adding 260o + 180o+30o = 110o for our first complementary color #2C8C19. Decreasing 260o + 180o-30o = 50o for the second complementary color #8C7919.

Tiradic color
tiradic color scheme

Triadic schemes are made up of hues/angles equally spaced around color wheel. Add and decrease +/- 120 degrees on both sides of the color hue angle.

Tetradic color
tetradic color scheme

Tetradic schemes are made up of hues/angles spaced around color wheel. Add 120,180,300 degrees on the color hue angle.