+++
title = "playing with colors"
author = "Danilo M."
type = "life"
date = "2016-02-14T17:52:21+00:00"
image = "/uppies/2016/02/palette.jpg"
categories = ["code", "diy"]
tags = ["colors", "github", "html5", "palette", "php", "viewer"]
+++
{{< image src="https://danix.xyz/wp-content/uploads/2016/02/palette-1.jpg" alt="palette-viewer screenshot" link="https://github.com/danixland/palette-viewer" caption="palette-viewer on github" >}}{{< /image >}}

{{< dropcap >}}
Today I decided I wanted to have a little "old school" fun, so instead of working on some WordPress theme/plugin, I went for the "lemme write some php from scratch" approach.
{{< /dropcap >}}

I was having a look at some color palettes for _**I'm not gonna tell ya**_, and it was quite hard for me to mix them together in my mind and decide which color goes where and how to use it, so after thinking about it for a while, I decided I'd narrow my options to 6 colors per palette, and in order to better visualize them, I wrote a small php page to help me.

It's actually very simple, there's a large preview where you can modify each color on the fly, and then you can send them to a fake page preview. that's it.

I put it on <a href="https://github.com/danixland/palette-viewer" target="_blank" rel="noopener noreferrer">github</a>, just in case you want to give it a look.

Let me know what you think about it. Cheers ;)