This section is about six colors.
Well, we will dive in more to talk about types of colors and when to use them.
All right.
So let's get broken.
So how many types of colors do we have?
Well, let's have a look.
First, we have what is called hexadecimal color.
And the next one, we're going to be our GB colors and our GB colors and HL colors.
Let's take them one after the other and dive in more.
Well, so let's start with hexadecimal colors.
Hexadecimal colors are six digit value that represent a specific color, and they are also known as
hex code.
So this kind of color comprises of numbers and alphabets from 0 to 9 and eight to Z.
So we can blend them, but make sure that the value of an up to six six digit.
So any time you see six digit value color, it tells you that this is hexadecimal, color, value.
So let's get back to visual, see the code and talk more about this type of color.
So let's get back to visual code and explore more.
So as usual, I made a small project with only a HTML file and in there I have two text here.
One is my H, one that is colors and H one also with a class called Hex and we have what is called hexadecimal
color.
So let's target this particular class.
So insert my CSS here or make it so dot hex represent hexadecimal colors.
Well, so how are you going to use such colors?
Well, make use of color and semicolon.
See that this code has given me a bunch of colors with a name and can see that this code uses what is
called hexadecimal colors with six digit value.
All right, so it says that six F represents white, so let's have a look.
Well, if I type in f, f, f, f, f, f, well, nothing appears.
But soon as I bring hashtag nine p, see that I have white so it's being hash tag and then your digit
value is that if I save it, this particular text will see that now my text is gone because it was white.
Okay, so now that is hexadecimal color for you.
For this one too.
I can blend any number from a any digit from A to Z and 0 to 9 as number.
So I can say 000 and then f f f.
I see that it has given me blue how awesome it is.
I can also say that I want let's say 999999.
So that has given me harsh color.
So in a combination with letters and alphabet, I'm going to give you hexadecimal colors when I'm thinking
that.
So I remember how I should provide these colors.
Try an error.
No, we have a lot of twos that can generate colors for us.
For example, the one we see inside is the code.
Right.
And also apart from that, we have a website that can give you three colors if you go to a HTML color
code dot com, you see this color generator as that.
We see that for the first here, you see that they have what is called the hex color, which is hexadecimal
color because for this one, the digit add up to six.
So we can use this slider to change any color I want.
As you mean I want this color.
I'll click on that.
And now I have my color code.
I can copy this one and then back to my visual code.
And next is let me give it a background color and then I'll paste that mixture.
You add hashtag and now I have it as that.
So this is what we call hexadecimal color.
The take away here is that if you see they get value with hashtag, it tells you this is hexadecimal
color.
Then this video we will talk about our ggb colors.