If you’ve ever customized the design of your HTML website, or tried changing the background color of your social profiles, you’ve probably encountered Hexadecimal color codes. These are a string of 6 characters – like “0066FF” – that you know represent colors but we rarely make the effort to understand them.
Here is a simple guide to help you recognize web colors more quickly from their RGB codes. No more guessing or consulting the color palettes.
In a typical web representation #RRGGBB, the first 2 digits denote red, the second 2 digital are for green and while the last 2 digit represent the blue shade.
Each number denotes the strength of that particular color – FF0000 is only red (no green, no blue), 00FF00 only green (no red, no blue). If all colors are present in equal strength FFFFFF, you get white, if no color is present 000000, you get full black.
If you want to “darken” a color, you need to move the color towards black 000000. That means 880000 is darker than BB0000 that is darker than FF0000.
Similarly, if you want to “lighten” a color, move towards white FFFFFF. So, FF8888 is lighter than FF4444 that is lighter than FF0000
Color combinations are dictated by the “strongest” color. So BB8844 is a reddish shade, 33CC00 would be a little green, and 777777 gray (since it has no strongest color).
Similarly, the RGB code for Facebook blue is #3B5998 which is predominantly blue color.
If you’re uncomfortable with Hexadecimal arithmetic, you could use the standard Windows calculator in scientific mode to perform such calculations. Hexadecimal numbers use 16 unique symbols (0-F) as opposed to the Decimal number system’s 10 (0-9), and to make up for the extra 6 characters, the English alphabets A-F are used.
This story, How to Easily Recognize Web Colors from RGB Codes, was originally published at Digital Inspiration on 18/08/2014 under Colors, Web Design
Saturday, February 6, 2016
Monday, January 4, 2016
Raspian setup
sudo apt-get update
sudo apt-get install vpnc
sudo chmod +rwx /etc/vpnc/
sudo apt-get install freerdp
sudo apt-get install zenmap
sudo apt-get install iceweasel
VPNC commands
vpnc <profile name>
killall vpnc
vpnc-disconnect
sudo apt-get install vpnc
sudo chmod +rwx /etc/vpnc/
sudo apt-get install freerdp
sudo apt-get install zenmap
sudo apt-get install iceweasel
VPNC commands
vpnc <profile name>
killall vpnc
vpnc-disconnect
Labels:
Linux,
Raspberry Pi,
Raspian
Thursday, December 3, 2015
Exchange Shell
Get a list of addresses, c:\export to smtp.csv
Get-Mailbox -ResultSize Unlimited |Select-Object DisplayName,ServerName,PrimarySmtpAddress, @{Name=“EmailAddresses”;Expression={$_.EmailAddresses |Where-Object {$_.PrefixString -ceq “smtp”} | ForEach-Object {$_.SmtpAddress}}} | Export-CSV c:\smtp.csv -NoTypeInformation
Get-Mailbox -ResultSize Unlimited |Select-Object DisplayName,ServerName,PrimarySmtpAddress, @{Name=“EmailAddresses”;Expression={$_.EmailAddresses |Where-Object {$_.PrefixString -ceq “smtp”} | ForEach-Object {$_.SmtpAddress}}} | Export-CSV c:\smtp.csv -NoTypeInformation
Thursday, August 6, 2015
Change Windows Server 2012 product key
Open Search
Type Slui.exe 0x3
Tap or click the Slui.exe 0x3 icon
Type your product key in the Windows Activation window, and then click Activate
Type Slui.exe 0x3
Tap or click the Slui.exe 0x3 icon
Type your product key in the Windows Activation window, and then click Activate
Tuesday, July 28, 2015
Dell service tag from Xen host
SSH to the host and use this command:
dmidecode -s system-serial-number
dmidecode -s system-serial-number
Friday, May 22, 2015
Outlook 2010 autocomplete data (formerly the NK2 file)
C:\Users\%username%\AppData\Local\Microsoft\Outlook\RoamCache
Stream_Autocomplete_0_{a long string of numbers/letters}.dat
Stream_Autocomplete_0_{a long string of numbers/letters}.dat
Thursday, May 21, 2015
Windows Registry
Redirect user shell folders
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\
Resolve DNS server issues
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DnsClient
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\
Resolve DNS server issues
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DnsClient
Subscribe to:
Posts (Atom)