How to detect a dark color in RGB triplet?
Mostrar comentarios más antiguos
I am plotting a map with many subdivision and colors.
I would like to automatically draw the borders with contrasting color with respect to the facecolor of the subdivision.
I am using the sum of the RGB triplet but I am not having perfect matchs.
Is there another way to do that?
My results until now:

Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Create Plots on Maps en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
