matchcolor
matchcolor copied to clipboard
Find the match or closest match of the name of a hexcolor. Web application written in ClojureScript with Node.js
matchcolor
A server-side Node.js app written in ClojureScript to find the match or the closest match to a hexcolor.
Why?
This was mainly an experiment in developing a simple web application in ClojureScript, using ClojureScript as the server-side language and Node.js as the runtime.
It uses express, hiccups for views, logfmt for logging, and garden for the hex<->rgb conversions it provides.
The massive color lists comes from Wikipedia.
Layout is one of the Bootstrap examples.
Building and Running
-
lein deps
-
lein cljsbuild once
-
npm install
-
cd target && node cljsbuild-main.js
The app will be accessible on port 3000.
Deployment
It's already setup for deployment to heroku. Move the compiled cljsbuild-main.js
to deploy
and then push to heroku.
License
Copyright © 2014 Sean Brewer
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.