0 && hexdec($_GET["color"]) < 16777215) { $color = trim($_GET["color"]); } else { $color = "000000"; } } else { $color = "000000"; } header("Content-Type: image/svg+xml"); echo(str_replace(' width="48">', ' width="48" fill="#' . $color . '">', file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/assets/icons/new/" . $name)));