Find the nearest flat color for a RGB/Hex input.
Bytes is a JavaScript newsletter you'll actually enjoy reading.
Delivered every Monday, for free.
Loved by over 200,000 developers