সিএসএস রং- HSL ( CSS Colors HSL ) [বাংলায় CSS মাস্টার ক্লাস]

সিএসএস রং- HSL ( CSS Colors HSL ) [বাংলায় CSS মাস্টার ক্লাস]ঃ

HSL মানে হিউ, স্যাচুরেশন এবং লাইটনেস। এটি রংগুলির একটি নলাকার-সমন্বয় উপস্থাপনা। CSS hsl() ফাংশন আপনাকে রঙের রঙ, স্যাচুরেশন এবং হালকা উপাদানগুলি নির্দিষ্ট করে একটি রঙের মান নির্দিষ্ট করতে দেয়। রঙ, স্যাচুরেশন, হালকাতা এবং স্বচ্ছতা নিয়ন্ত্রণ করে। এইচএসএল আরজিবি কালার কোডের মতোই ফরম্যাট করা হয়ে থাকে। (Example: hsl(10, 50%, 60%)) [“hsl(hue, saturation, lightness)”]। সিএসএস রং- HSL ( CSS Colors HSL ) [বাংলায় CSS মাস্টার ক্লাস] সম্পর্কে বিস্তারিত নিচে দেওয়া হল।

Example:

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS MASTER JHUTANDA</title>
     <!--https://jhutanda.com-->
    <!--https://github.com/jhutanda-->
</head>
<body>
    <div><h1>CSS MASTER JHUTANDA</h1></div>
    <style>
        div{
            /* background-color: hsl(hue, saturation, lightness) */

            /* Example:1 black */
            background-color: hsl(0, 100%, 0%);
             /* Example:2  white */
             background-color: hsl(0, 100%, 100%);
            /* Example:3  red */
            background-color: hsl(0, 100%, 50%);
            /* Example:4 green */
            background-color: hsl(240, 100%, 50%);
            /* Example:5  light green*/
            background-color: hsl(147, 50%, 47%);
            /* Example:6 yellow */
            background-color: hsl(39, 100%, 50%);
        }
    </style>
</body>
</html>

Scroll to Top