Skip to content

Planet-Source-Code/lewis-e-moten-iii-oppisite-colour2-hex__4-7356

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Oppisite Colour2 (HEX)

Description

Grab the opposite 6 character HEX color.

This sums up David Weirs Color invert script with just one line of code.

See his original code at http://www.pscode.com/vb/scripts/showcode.asp?txtCodeId=7176&lngWId=4

Be careful when comming close to middle gray scale (808080). opposites are same.

More Info

Submitted On
By Lewis E. Moten III
Level Beginner
User Rating 5.0 (10 globes from 2 users)
Compatibility ASP (Active Server Pages)
Category Graphics/ Sound
World ASP / VbScript
Archive File

Source Code

Invert = Right("000000" & Hex(16777215 - CLng("&h" & Color)), 6)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published