prepare("SELECT * FROM colors ORDER BY timestamp DESC"); $stmt->execute(); $result = $stmt->fetchAll(PDO::FETCH_ASSOC); $total = 255 * 255 * 255; $named = count($result); $remaining = $total - $named; ?> Name A Color

Name A Color!

/ colors named ( left)


Name your own color!

This color has already been named!

This name has already been used!


Colors that were named

"; echo "
"; echo "

" . htmlspecialchars(base64_decode($row['name'])) . " • #" . $row["color"] . "

"; echo "
"; } ?>