Skip to content

A tiny Adminer extension for parsing and displaying colors where there are colors.

License

Notifications You must be signed in to change notification settings

smuuf/adminer-colorfields

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Colorfields

A tiny Adminer extension for parsing and displaying colors where there are colors found.

What does it do and why should I care?

If the cell's content matches either of the regexes down below, a small circle will appear next to the value. This way it should be pretty obvious what the color looks like without having to perform expensive decoding using brain-mathematics and having to imagine the color just using the brain.

Wait, what?

Currently Colorfields extension supports HEX and RGB(a) formats:

  • HEX: ^#?([0-9a-fA-F]{3}){1,2}$
  • RGB(a): ^rgba?\((\d+),(\d+),(\d+)(,(\d+))?\)$

Eh, just show me what it looks like...

Here you go, you rascal you:

Preview

About

A tiny Adminer extension for parsing and displaying colors where there are colors.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages