OZONE Asylum
FAQ
How do you calculate the average of two (or more) colours?
This page's ID:
5407
Search
QuickChanges
Forums
FAQ
Archives
Register
You are editing "How do you calculate the average of two (or more) colours?"
Who can edit an FAQ?
Anyone registered may edit an FAQ.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
From InI about doing it manually: [quote]Yes, easy, turn them to decimal, then compute the average, and turn them back to hex =) For instance: FF = F*16+F = 15*16+15 (F being 15 in hexadecimal notation). Or: AE = A*16+E = 160+14 = 174 And so on... To understand this, try the same with decimal numbers: 140, for instance, = 1*10^2 + 4*10^1 + 0*10^0 (^ meaning "exponent"). Or binary, 101 = 1*2^2 + 0 * 2^1 + 1 * 2^0 = decimal 5.[/quote] ------------------------ Relevant threads: [url=http://www.ozoneasylum.com/Forum1/HTML/008163.html]calculating the average of two hex colors?[/url] ------------------------ Relevant links: [url=http://www.meyerweb.com/eric/tools/color-blend/]Color Blender[/url] - a very useful tool. ------------------------- Relevant FAQs: [internallink=5051]Can you direct me to good resources on colour?[/internallink] ___________________ [internallink=4626]Emperor[/internallink] [small][i](Added by: [url=http://www.ozoneasylum.com/cgi-bin/ubbmisc.cgi?action=getbio&UserName=Emperor]Emperor [/url] on Sun 12-Oct-2003)[/i][/small] [small][i](Edited by: [url=http://www.ozoneasylum.com/cgi-bin/ubbmisc.cgi?action=getbio&UserName=DL-44]DL-44 [/url] on Sun 12-Oct-2003)[/i][/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail