Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.08 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.08 KB

PyQt6 Hex to ANSI

A simple Hex Color to ANSI Code equivalent color, written in Python using PyQt6.

Features

  • Color Picker
  • Closest ANSI code to the selected color
    • Code in the '2' pattern, the 255 ANSI
    • Code in the '5' pattern, the RGB ANSI
  • Closest Dark and Light color to the selected color
  • Closest Grayscale color to the selected color
  • Modifiers for the selected color
    • Color modifiers:
      • Foreground
      • Background
    • Text modifiers (WIP):
      • Bold
      • Dim
      • Italic
      • Underline
      • Blinking
      • Inverse
      • Invisible/Hidden
      • Strikethrough

Screenshots

GUI in its initial state

image

Color Picker

image

GUI with a color selected

image

The logic behind the conversion is based on the one used here.