hi all
i'm making a page for my website, a simple color conversor and then show the hex color, but i have some problems in the page.
i have the page working, but isn't simplificate, and i want to simplificate,I want only 2(one for the button +, and one for the button -) functions instead of 12 ( 6 for the button +, and 6 for the button -)

when i click + or -, change only that number in that position.

the page is in http://lfvo.no.sapo.pt/teste.html