What exactly is BGR color space?

RGB stands for Red Green Blue. Most often, an RGB color is stored in a structure or unsigned integer with Blue occupying the least significant “area” (a byte in 32-bit and 24-bit formats), Green the second least, and Red the third least. BGR is the same, except the order of areas is reversed. Red occupies … Read more

How to set default vim colorscheme

Your .vimrc file goes in your $HOME directory. In *nix, cd ~; vim .vimrc. The commands in the .vimrc are the same as you type in ex-mode in vim, only without the leading colon, so colo evening would suffice. Comments in the .vimrc are indicated with a leading double-quote. To see an example vimrc, open $VIMRUNTIME/vimrc_example.vim from within vim

Should you use rgba(0, 0, 0, 0) or rgba(255, 255, 255, 0) for transparency in CSS?

The last parameter to the rgba() function is the “alpha” or “opacity” parameter. If you set it to 0 it will mean “completely transparent”, and the first three parameters (the red, green, and blue channels) won’t matter because you won’t be able to see the color anyway. With that in mind, I would choose rgba(0, 0, 0, 0) because: it’s less typing, it keeps a … Read more

Transparent ARGB hex value

Transparency is controlled by the alpha channel (AA in #AARRGGBB). Maximal value (255 dec, FF hex) means fully opaque. Minimum value (0 dec, 00 hex) means fully transparent. Values in between are semi-transparent, i.e. the color is mixed with the background color. To get a fully transparent color set the alpha to zero. RR, GG and BB are irrelevant in this case … Read more