Features

Free Random Color Generator

This free online tool allows you to generate random colors, which can be used in your apps or tests.

Random Color Generator

What is a Random Color Generator?

A Random Color Generator is a software tool or algorithm that generates random colors. You can use this generator to create colors which can be used in your automated test cases, for example as an input in a specific form.

The generator on this page will create unique HEX based colors, which you can copy/paste into your test scripts.

How can I generate random colors in my test scripts?

You can use this simple code below in Javascript which will generate unique HEX colors each time you call this method.

Copy code
Math.floor(Math.random()*16777215).toString(16)