The code for a web application to turn a word/phrase into a color from image results
PHP CSS ApacheConf
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
images
.gitignore
.htaccess
Oswald-Regular.ttf
README.md
header.php
index.php
preview.php
robots.txt
search.php

README.md

Logo Colorize

The Problem

If you've ever been drawing in Photoshop and thought 'What color is the sky', or have been designing a website and looking for that perfect 'purple' color, or just wanted to know what color sand is, it can be really hard to pinpoint a specific color.

The Solution

I created Colorize a while ago in order to turn a word/phrase into a hex color. It works by scraping the first page of Google Image results for the word/phrase, and finding the average color for the returned images.

Details

If you're running this on a local server, make sure that php-gd is installed, and the 'php_gd2' extension is enabled. If you want to check it out, it's live at https://alexbeals.com/projects/colorize. Read more about the project on my blog.


  • HTML
  • CSS
  • PHP
  • MySQL

Created by Alex Beals © 2016