Skip to content

Instantly share code, notes, and snippets.

@HariSekhon
Created October 5, 2024 22:18
Show Gist options
  • Save HariSekhon/55fa644958a59e4cc9085d9ab42a0de2 to your computer and use it in GitHub Desktop.
Save HariSekhon/55fa644958a59e4cc9085d9ab42a0de2 to your computer and use it in GitHub Desktop.
visualization.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowledge-Base

Visualization

Graphs make life pretty.

Python Libraries

See the Python doc's Data Visualization section.

Colours

Hex Colour Chart Sites

For customization, especially in chart visualizations rather than icon-based Diagrams-as-Code, or when changing background colours:

https://www.rapidtables.com/web/color/RGB_Color.html

https://htmlcolorcodes.com/

Detecting Colours - ColorZilla

You can pick the colour of an image or logo off a web page using ColorZilla.

Install the Chrome extension or Firefox extension and then just click the extension icon, picker and choose an icon or image or area from the web page.

For example, I used this to find out the exact yellow colour of the Miro.com logo as FEDD33.

This would be hard to determine by guessing the colour, and if you just picked the generic yellow colour it would come out as this:

Miro

Whereas with the hex colour detection of the exact hex code of FEDD33 it comes out as this, which is a very diffferent yellow:

Miro

Terminal Colors Programs

I wrote a couple programs to show basic colours on the terminal background vs foreground:

HariSekhon/DevOps-Golang-tools - colors.go

HariSekhon/DevOps-Perl-tools - colors.pl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment