Skip to content

The code for a web application to turn a word/phrase into a color from image results

Notifications You must be signed in to change notification settings

dado3212/colorize

Repository files navigation

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

About

The code for a web application to turn a word/phrase into a color from image results

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published