Skip to main content

Questions tagged [color]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Python colorized debug printer

In Python you can use print(locals()) to print a dictionary of all the local variables, but this has 3 shortcomings: Double underscore variables will be included ...
Caridorc's user avatar
  • 27.5k
4 votes
1 answer

Funny and a simple colorful text editor

(See this repository for full code.) Now I have rolled a simple class extending JavaFX Canvas for showing terminal like, colorful console: ...
coderodde's user avatar
  • 28.7k
2 votes
1 answer

Changing the color of some pixels in an image in Swift

My code is working perfectly fine, except for one-thing. The performance is not up-to the mark. What I am trying to achieve is I have an image with a few circles (each circle has a border with ...
Raja Saad's user avatar
  • 123
2 votes
1 answer

Colour-model classes using CRTP

I want to implement color space logic. So I started with creating some structs: ...
Hrant Nurijanyan's user avatar
4 votes
2 answers

*nix, *bsd, etc basic `tput` color setup

My goal with the below piece of POSIX shell code was to address the more platforms the better with shell tput colors. With this code, I now start all of my scripts, ...
Vlastimil Burián's user avatar
2 votes
0 answers

C# Color implementation with conversions from RGB to HSL and CMYK and vice versa, targetting Blazor and CSS

This is an implementation of a Color class, primarily targetting the web to be used in a Blazor app. Color.cs ...
LeoVen's user avatar
  • 337