Inverse HEX Value with PHP

$inverse_color = strtr('{$COLOR}', '0123456789abcdef', 'fedcba9876543210'); echo '<style>header:hover { background-color: #'.$inverse_color.'; } </style>';
Inverse HEX Value with PHP

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.