Hi, is it possible to invert colors of a webpage using javascript only? If yes, please provide me sample code / tutorial!

Hi Andy90, I do think this is possible, and probably without too much effort (guessing). However, what would be the event that triggers the invert? And, what exactly is an inverted colour supposed to look like? For instance, what is the invert of blue, or red? Your question is a little too vague, which is probably why you haven't had a response yet.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.