All right, so welcome back again. So in this particular session, we try to see how to add colors to our click CLS. So let's go to liquidity. So I'm just going to see this particular file, the new file is created and the current colors CLR with PI to click, by default gives you the option of adding colors to it, but they're claiming that you need to install color aroma. Color from right if you're on Windows or your lines right but by default it comes with it. So let's see how to work with color.
So the simplest way to just click then go to create our simple main function as you have been doing always pivot and in this case we'll be going with a simple registration. See Li to fit right in and here we just give it some evening. Very simple this converted to AC Li by bringing it click But Kumar execute this option so click to option and that's related options goes with this particular option of the name. Let's give this short format name right perfect three admitted so let's see how to add colors to it. So I'm just going to go with something like this click towards clinical the particular link to Hello Sydney it formats the needle need a peasant supply to pass the name. So by default if I do this good use quite right let's go Python.
Three Khaleesi ally let's let's help. The name is there. If I want to run it, I can just give it a name Mary Then Hello Mary, right? There's no color this is good bye sometimes you add some beautification to your CLR. So, how do you do that? So, the simplest way you can just go with this same thing that we have done and then bring a style to it right.
So, the style is going to be something like this. See if we have you for this come with click to add style right. So we are putting a style around it. Let me expand this racy to trigger style. Very interesting. Then here is apply that particular styles it takes several so the fifth argument is going to be the for foreground, edgy for foreground.
I can give it the color is blue. So let's see what's here. Right. See, which has blue so this he has blue must be inside this particular one. Is it stop? So let's see here.
This one takes he received in every day So if I come back here and I run it again, now Hello Mary is now blue, right? Because he said he forgot his blue is one of the metals of adding colors to UCLA. They're interested and also add a background color to it by going bg. Anything give it a background color. Let's see. White a bit now is going to get extended to quite soon, isn't it?
Right so BG for background color empty for foreground color. Very interesting. Yeah, that's that's going to make it bold. So let's go to true. I set it to true No, it's going to make it bigger. Right so we cannot see it very well but this does Bode in it.
That is one of the ways of working with it. Very interesting. So we can add the rock lesson. So there are about seven colors can use blue, white, sign magenta, green, yellow, white, right, very interested. Those one of the reasons Face method. Now the second method is quite simple.
This is quite useful, but it's quite plenty. So there's also a click to a circle. For the click of circle, you're the same as click the Echo, plus click to add style. So it's combining the two of them together, right so the basic idea behind it click to literally click that circle. And instead of doing this wrong, when we did, we can just go straight away with this option to see your name is Ahmed, my personal name, then I'll just go with fg before ground. Let's use this time that it fits with our This one is going to see if I come back here to the same thing.
So now your name is All right, so that is one of the reasons I didn't collect with this is very simple and very easy. So you can either do two loads of things until you decide to do this and it gives you who want to separate it, you want it to pick only a particular option. So you can see from here that it picked the entire stuff. I think it will just separate it for a particular option and we'll do that in the CMT right to specify a particular option. So for example, like here, or like even here, this one copy this one here this button then you just go with your name. So your name is it right so that is going to affect the interest but don't affect the interest of general just limited with the hukou, right Your name is this then are the CMT 90 day.
So your name this this dinner, just click circle or click style. Now passing the pass graph, which was learning to fit in, you can actually in this class, right? If it is rare to see, come up here, then this right again, while right, so your name is Mary, and it gives us one. That's why because we didn't specify any color, right? We specify a color. And I just come back to this, please give me the for call, cloth.
Let's see red. Let's see. Let's try it again. As we said, only the memory was changed to read, the rest remain quiet. So the basic idea that can just use the Echo, then you specifically use a style just like in case you are using CSS right spot to do that. So that's how to add colors to play.
Thank you for watching, and see you the next session. Stay blessed.