Colors on TVs, Monitors and many other devices are produced by a mixture of red, green, and blue colors of light. Each of them has 256 levels of intensity (8 bit). That means the each have a value between 0 and 255. Try the tool I wrote below to see if you can use math to match colors.
You could also just go to the page here.