d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > The Revised D2jsp Color Code Guide
Prev1234568Next
Closed New Topic New Poll
Member
Posts: 3,089
Joined: Apr 7 2006
Gold: Locked
Trader: Scammer
Warn: 10%
Feb 16 2007 06:05pm
test ( nice)

This post was edited by MR_NIKOO on Feb 16 2007 06:09pm
Member
Posts: 66,764
Joined: Mar 30 2005
Gold: 13.00
Feb 17 2007 06:52pm
is there a "Trusted Blue"
Member
Posts: 15,434
Joined: Jul 4 2006
Gold: 0.08
Feb 19 2007 12:47am
Quote (ZachT927 @ Sat, Feb 17 2007, 06:52pm)
is there a "Trusted Blue"


: Trusted



that?
Member
Posts: 9,407
Joined: Sep 21 2006
Gold: 137,111.00
Feb 21 2007 11:30pm
Works ?

nice biggrin.gif

This post was edited by AVEDIS on Feb 21 2007 11:30pm
Member
Posts: 2,323
Joined: Jun 16 2006
Gold: 30.00
Feb 28 2007 10:19pm
I did mine kinda like this...but it's slightly different, i just took an edited that one guys lol forgot his name lol but anywho works good
Member
Posts: 4,046
Joined: Jan 23 2006
Gold: 2,176.50
Mar 3 2007 07:28am
u know anything about sizes? Can u update that as well? heart.gif tnks so far
Member
Posts: 15,434
Joined: Jul 4 2006
Gold: 0.08
Mar 4 2007 02:59am
Quote (Rebell-bizkit @ Sat, Mar 3 2007, 07:28am)
u know anything about sizes? Can u update that as well? heart.gif tnks so far


Code
[ s i z e =  pick from list ]  abcdef... etc. Hi :P  [ / s i z e ]





-7
-6
-5
-4
-3
-2
-1
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Member
Posts: 13,742
Joined: Sep 29 2006
Gold: Locked
Trader: Scammer
Warn: 100%
Mar 5 2007 10:55am
test

work?
Member
Posts: 18,096
Joined: Jun 23 2005
Gold: 1,269.89
Mar 5 2007 12:57pm
wow a lot more colors than i thought were available..

.:-

This post was edited by Windy-91 on Mar 5 2007 12:57pm
Member
Posts: 4,840
Joined: Dec 16 2005
Gold: 0.00
Mar 5 2007 02:03pm
Yes, this is a good guide however it is very simple to do it the old fashioned way.

######

The basic HTML color code. The way I look at it would be that no color would be black. [000,000,000]

Full color would be white [255,255,255]

the [###,###,###] is the RGB color code (Red, Green, Blue). It is used in programs like Photoshop.

To make this short and simple, take the RGB color code and follow the steps in the example.

Let's say we have a [223,124,58]

We need to take each of those numbers and divide them by 16. I will explain the reason for 16 later.

So, we should get 13.9375, 7.75, 3.625

Then, you put that into a proportion. .9375/10 = x/16 x=15

That would give us 13 15/16 for the first number. We repeat those steps for the next two numbers. 7.75= 7 12/16. 3.625=3 10/16

Now, we have our base 16 handy, right? (0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f)

We could get df7c3a for our HTML color code.


NOW, to answer the question of "Why do we divide by 16?"

I did a bit of thinking in my head and it just hit me. HTML color codes use base 16. 16*16=256. It all makes sense if you just continue looking for simple reasons.
Go Back To Programming & Development Topic List
Prev1234568Next
Closed New Topic New Poll