My colours
It's my lunch break. I was looking up a question I had about the "code" tag in HTML on stackoverflow, when I came across this thread.
I could not resist and tried my own name. Amazingly I have the same colour as Chuck Norris. See:
Chuck Norris
Christina Anna Milcher
See the link for the explanation. Separately written my name looks like this:
Christina (#C0 00 00) Anna (#A0 0A 00) Milcher (#00 C0 00)
My family:
Heinrich (My father)
Katharina (my Mother)
Andrea
Stefan
Susanne
Here is the code for the above (by me!):
I could not resist and tried my own name. Amazingly I have the same colour as Chuck Norris. See:
Chuck Norris
Christina Anna Milcher
See the link for the explanation. Separately written my name looks like this:
Christina (#C0 00 00) Anna (#A0 0A 00) Milcher (#00 C0 00)
My family:
Heinrich (My father)
Katharina (my Mother)
Andrea
Stefan
Susanne
Here is the code for the above (by me!):
< div name="colour" style="display:inline" >
< input id="colour" type="text" />
< button onClick="colourName()" > See your colour </button> </div >
< div id="some" style="display:inline"> </div >
<script>
function colourName(){
var colour=document.getElementById('colour').value;
var div = document.getElementById('some');
div.innerHTML = ' <font color="'+colour+'">'+colour+' </font>';
}
</script >