Given a 24-bit binary string representing an RGB color (8 bits each for Red, Green, and Blue), find the nearest color from five predefined base colors: Black (0,0,0), White (255,255,255), Red…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.