| Consistent Colour Design |
| Written by Kelsey | |
| Thursday, 01 February 2007 | |
I'm working on a fairly large real-estate project at the moment which uses some interesting methods for displaying tabular data. Rather than going with the usual technique of alternating between two colours on the table rows, we're using a graduated colour scheme for the most important data; dark to light over the course of five rows, the better to highlight the sorting of the user's data. Those colours also need to fit in with the general look & feel of the site and there's lots of little information widgets which need styling.With a layout this complex, I eventually realised that I wasn't being as consistent as I'd like with the colour settings across all my widgets. For years I've been using the technique of putting a little 'colour chart' at the top of my stylesheet, basically an index of the major and minor colours, and a short description of where they go. The problem with this is that in a really long stylesheet, you've got to scroll all the way to the top to reference your colours, and even then you only get the descriptions and hex values - you can't actually see the colours. So instead, I'm now using a colour chart that shows every colour I'm using in css. How it works, after the jump: The Markup: <div class="block_container">Just copy this block of code multiple times, replacing the 'color_block' style and span text with the hex values of the colour you wish to show. You might also want to your descriptive name for the colour. To style this nicely, here's my css: h2 { font-family:"Century Gothic", Verdana, Arial, sans-serif; font-size:1.5em; color:#6088d5; font-weight:bold; padding:0; margin:0 0 5px 0; }Which nicely styles the chart into a series of boxes giving you a visual reference for each colour in addition to the hex value. I load this page in a browser, turn off all toolbars and size the window small enough to float nearby, enabling quick copy-pastes of the hex values as I need them. color_chart |
About thinksync
We're designers. We're not going to blather on about our design philosophy or methods (there'll be enough of that in the blog).We design websites, create beautiful printed work and build web applications.
It's what we do, what we love and we're here to help.
Current Projects
Print Design
|
|
Get in touch
Or get in touch directly:
thinksync0410579149
This email address is being protected from spam bots, you need Javascript enabled to view it
I'm working on a fairly large real-estate project at the moment which uses some interesting methods for displaying tabular data. Rather than going with the usual technique of alternating between two colours on the table rows, we're using a graduated colour scheme for the most important data; dark to light over the course of five rows, the better to highlight the sorting of the user's data. Those colours also need to fit in with the general look & feel of the site and there's lots of little information widgets which need styling.
Profile ›› innovative eMarketing