Hi Kuldeep_5,
The colour code that you are describing here is known as the T568B type of ethernet cable. The other type is T568A which reverses the orange and green cables. Assuming you are looking for normal Ethernet functionality, it doesn't matter what type you use, as long as both ends are the same. If the ends are opposite, it is known as a crossover cable and is used for connecting like-devices such as two computers or two printers directly together. (Crossover cables aren't nearly as common anymore)
~Agent