Skip to content

A simple HTML-based tool that allows you to input a colour hex code and export it as a PNG image.

License

Notifications You must be signed in to change notification settings

Caskexe/HEX-to-Image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Hex-to-Image Tool

Overview

USE ONLINE VERSION

This is a simple HTML-based tool (with Javascript) that allows you to input a colour hex code and export it as a PNG image. You can also set the dimensions of the image and choose a prefix name for the exported file (for example "Black" will output the file "Black_000000.png"

Features

  • Hex Code Input: Enter any valid hex colour code (e.g., #FF5733, #000000) to generate a PNG image of that colour.
  • Dimensions: Specify the width and height of the output image.
  • File Name Prefix: Set a custom prefix for the image file name, making it easier to organise your colours/images.

How to Use

  1. Clone or download the repository to your local machine.

  2. Open the HEX-to-Image.html file in your web browser.

  3. Enter your desired hex colour code in the input field.

  4. Specify the width and height for your PNG image.

  5. Choose a prefix name for the exported PNG file (optional).

  6. Click the "Generate Image" button to create the PNG image.

  7. Once you're happy with the output, hit "Download Image"

    OR Simply use it here!

Requirements

  • Should work on any modern web browser!

Installation

No installation is required. Simply download the HEX-to-Image.html file and open it in your browser.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request if you have any improvements or bug fixes.

About

A simple HTML-based tool that allows you to input a colour hex code and export it as a PNG image.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages