RGBA Color Picker -- আরজিবিএ কালার পিকার

RGBA Color Picker

RGBA Color Picker includes a form with four range inputs, one for each color channel (red, green, blue) and one for the alpha value (transparency). It also includes a color box that displays the selected RGBA color, as well as some CSS styling to make it look presentable.

The JavaScript code at the bottom of the HTML file handles the updating of the color box based on the user's input. When any of the range inputs change, the updateColorBox() function is called, which calculates the new RGBA value based on the current values of the input fields, updates the color box's background color, and displays the RGBA value in the span element.

=============================================================================

আরজিবিএ কালার পিকার

আরজিবিএ কালার পিকার চারটি রেঞ্জ ইনপুট সহ একটি ফর্ম রয়েছে, প্রতিটি রঙের চ্যানেলের জন্য একটি (লাল, সবুজ, নীল) এবং একটি আলফা মান (স্বচ্ছতা)। এটিতে একটি রঙের বাক্সও রয়েছে যা নির্বাচিত RGBA রঙ প্রদর্শন করে, পাশাপাশি কিছু CSS স্টাইলিং এটিকে উপস্থাপনযোগ্য দেখায়।

HTML ফাইলের নীচে জাভাস্ক্রিপ্ট কোড ব্যবহারকারীর ইনপুটের উপর ভিত্তি করে রঙ বাক্সের আপডেট পরিচালনা করে। যখন পরিসর ইনপুট পরিবর্তন হয়,আপডেট কালারবক্স() ফাংশন বলা হয়, যা ইনপুট ক্ষেত্রগুলির বর্তমান মানের উপর ভিত্তি করে নতুন RGBA মান গণনা করে, রঙ বাক্সের পটভূমির রঙ আপডেট করে এবং স্প্যান উপাদানে RGBA মান প্রদর্শন করে।


RGBA Color Picker Tool

RGBA Color Picker Tool

RGBA: rgba(0,0,0,0.5)

No comments:

Post a Comment