Change colors!Turn my document into its negative! (See explanation below.)
Note: To achieve a perfect negative effect, be sure to turn all images used on your pages negative as well.
CSS NegativesThis script processes a CSS sheet and returns all hexadecimal color codes into their negative value. This means that a page with black text and a white background will be turned into a page with white text on a black background (and so forth).
You can paste CSS sheets or even HTML.
» Entering your input
You can enter whole HTML documents or CSS sheets. Be aware that all occurences of # followed by three or six letters a-f and/or numbers will be turned into their negative value (e.g. #111 to #eee) regardless of context. This script merely matches all occurences of # followed by a-f or 0-9 and doesn't check for syntax.
#fff becomes #000.
#123456 becomes #edcba9.
#AFA983 becomes #50567c.
#agh - no match! Only matches hexadecimal color codes (letters a-f).
color(255, 124, 67) - no match! This syntax currently isn't supported.