🏆 [M💙 Challenge] Hex Triplet Colour Shades ❤💚💙💜💛
Monday Blue 💙 Challenge Series #5 Let's get colourful this week! If you're familiar with the HTML challenges, there are a few quizzes that require you to identify the shade of colour based on the Hex Triplet (#RRGGBB). 💼 TASK Write a program to accept a Hex Triplet (#RRGGBB) and determine whether it represents the colour of the following categories:- "Black" #000000 "White" #FFFFFF "Shade of Grey" Neutral. Equal weightage of all components. "Shade of Red" Red dominant* "Shade of Green" Green dominant* "Shade of Blue" Blue dominant* * pure shades with equal weightage of other components. "Shade of Yellow" Red-Green dominant with relatively higher weightage than Blue. "Shade of Purple" Red-Blue dominant with relatively higher weightage than Green. "Shade of Cyan" Green-Blue dominant with relatively higher weightage than Red. 🔧 TEST CASE #252525 ➡ "Shade of Grey" #AA3333 ➡ "Shade of Red" #11BB11 ➡ "Shade of Green" #CCCCFF ➡ "Shade of Blue" #FACE00 ➡ "Shade of Yellow" #BB33AA ➡ "Shade of Purple" #22DD33 ➡ "Shade of Cyan" ❤ BONUS Creative and clear-cut approach is encouraged. 👍 SPECIAL MENTION https://code.sololearn.com/W0vQm8LhnxdQ/?ref=app Happy Coding!!! 😁💻