GithubHelp home page GithubHelp logo

akash-rajak / color-converter Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 918 KB

Python code for conversion between different color code.

Python 100.00%
python3 tkinter colormath cv2 converter rgb-to-hex hex-to-rgb rgb-to-lab rgb-to-hsv hsv-to-rgb rgb-code hex-code hsv-code lab-code

color-converter's Introduction

โœ” COLOR CONVERTER

  • An Color Converter created in python with tkinter gui.
  • Using this user will be able to convert RGB color code to HEX color code, HEX to RGB, RGB to HSV and HSV to RGB.
  • Also while converting user will be shown preview of the color converted in the preview area.

REQUIREMENTS :

  • python 3
  • tkinter module
  • from PIL import Image, ImageTk
  • colorsys

HOW TO Use it :

  • User just need to download the file, and run the color_converter.py, on local system.
  • After running a GUI window appears, here user can select from the four conversion option provided to the user.
  • When user select any of the four option of conversion, he/she will be directed to new window. Where user enter the first conversion type code and convert that code to second conversion type code by just clicking on the CONVERT button.
  • Along with conversion user will be previewed the color which user is converting in the preview area.
  • This way user will be able to convert from RGB color code to HEX color code, HEX to RGB, RGB to HSV and HSV to RGB.
  • Also there is exit button, clicking on which we get a exit dialog box asking the permission to exit.

Purpose :

  • This scripts helps us to easily convert from RGB color code to HEX color code, HEX to RGB, RGB to HSV and HSV to RGB, ans can alos see the preview of color.

Compilation Steps :

  • Install tkinter, PIL, colorsys
  • After that download the code file, and run color_converter.py on local system.
  • Then the script will start running and user can explore it by comverting the color code from any of the four supported conversion.

SCREENSHOTS :












Author :

  • Akash Ramanand Rajak

color-converter's People

Contributors

akash-rajak avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.