You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The colors are currently things like text, links, background colors. It is certainly a tricky task but it would be more useful to extract the list of colors used on the site to create a "color palette". Each color from the palette would be named with the most approaching css color name (e.g. something like projectname-lightgreen). From there the text, links could use those colors from the palette.
Extracting the list of color should be trivial (for all DOM elements, get the color and background-color properties). Finding the closest matching color name is probably an interesting math problem.
The text was updated successfully, but these errors were encountered:
The colors are currently things like text, links, background colors. It is certainly a tricky task but it would be more useful to extract the list of colors used on the site to create a "color palette". Each color from the palette would be named with the most approaching css color name (e.g. something like
projectname-lightgreen
). From there the text, links could use those colors from the palette.Extracting the list of color should be trivial (for all DOM elements, get the
color
andbackground-color
properties). Finding the closest matching color name is probably an interesting math problem.The text was updated successfully, but these errors were encountered: