Color Palette Generator

This tool generates a full palette of tints and shades from a single base colour, giving you a coordinated set of lighter and darker variations to use in a design. Picking one colour is easy; building a harmonious range around it is the part that trips people up. Good design rarely uses a single flat colour: it needs lighter tints for backgrounds, highlights and hover states, and darker shades for text, borders and depth, all derived from the same base so they sit together naturally. Creating these by hand means fiddling with colour values until they look right, which is slow and inconsistent. This generator does it instantly and systematically. You choose a base colour, and the calculator produces a series of tints, made by blending the colour toward white in even steps, and a series of shades, made by blending it toward black, each shown as a swatch with its hex code ready to copy. The palette updates as you change the base colour, so you can explore options quickly. Use it to build a colour scheme for a website, app, brand or document, to find accessible lighter and darker versions of a brand colour, or simply to generate a set of matching colours from one you like. Tints and shades derived this way always coordinate, because they share the same underlying hue, which is the secret to a palette that looks deliberate rather than thrown together. The hex codes can be dropped straight into CSS, design software or a style guide. For text contrast, pair a light tint background with a dark shade for the text, and check the contrast meets accessibility guidelines.

Tints blend the colour toward white; shades blend toward black. Hex codes are ready for CSS. Check text contrast against backgrounds for accessibility.

How it works

The base colour is split into its red, green and blue components. Tints are produced by moving each component a set fraction of the way toward 255, the white point, in even steps. Shades are produced by scaling each component down toward zero, the black point. Each resulting colour is converted back to a hex code and shown as a swatch.

Worked example

Starting from a mid-blue base, the generator produces five progressively lighter tints heading toward white, useful for backgrounds and hover states, and five progressively darker shades heading toward black, useful for text and borders. Each swatch shows its hex code, all coordinated because they share the same blue hue.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

© 2019 to 2026 Calculate.co.nz. All rights reserved.