 Hi everyone. In this tutorial, we're going to talk about that how to get a random color in Python programming language. But first, at all, make sure to subscribe to my channel because more subscribers means more quality videos on my channel. Okay, let's back to the topic. We want to get a random color in Python. So in order to do that, we need to use random numbers. And that means that we need to use random module. And from this random module, we want to import rendint. Rendint is going to return to us a random number from a given interval. If we want to have a random color, we know that a random color in or any other color in Python programming language consist of three colors, red, green, and blue. And for each of these colors, values can be in the interval from zero to 255 for all these colors. So if we want to get a random color, we need to use rendint function and get a random number from red color, also for a green color. And finally for a blue color, let's try to see if this is working. Okay, we now have a random color number 28 represents how much red color we have in our color 16 represents green color. And finally 163 represents a blue color. Also, we could define a simple function which will give to us a random color. We do not have we don't need to have any argument. And what we want to have is to return these colors how much red, green, or blue we have. So I'll copy this code. And I'm gonna paste it here. Let's press enter. I need to close this parenthesis. Okay, let's press enter. And let's try to call our function to see if it does works. Okay, we have here a random color. Now let's try to call it again. Okay, that's good. Again, you can also use, for example, tuples and store these values from red, green and blue colors inside tuples. For practice, you can try to define this function with usage of tuples. So in Python language, if you want to get a color, you need to get tuple with three values of how many red, green and blue color you want to have intervals for these colors are between zero and 255. And if we want to get random numbers in that domain for our colors, we're going to use random function and provide an interval in which we want to have a random number. That's all in this tutorial. Thanks for watching. See you in the next tutorial. And again, don't forget to subscribe to my channel.