johnnyk Posted December 3, 2006 Share Posted December 3, 2006 This is really an RGB question, but there's no forum for that so I thought I'd post it here because CSS deals with RGB.This may not make sense...I want to find the color that is the same distance from 255,0,0 that 75,75,75 is from 0,0,0. A better way to phrase it might be "75,75,75 is x lighter than 0,0,0. What is x lighter than 255,0,0?".So obviously to get 75,75,75 from 0,0,0 you just add 75 to R,B,G. But you can't have 330,75,75. What would be the equivalent to that? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted December 3, 2006 Share Posted December 3, 2006 Take 75 from 255 and you'll get a slightly darker red however if you increase the g and b you'll get a lighter red Quote Link to comment Share on other sites More sharing options...
johnnyk Posted December 3, 2006 Author Share Posted December 3, 2006 Yeah but I want the red to be lighter to the exact same degree that 75,75,75 is lighter than 0,0,0. What do I set the g and b to to achieve that? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted December 4, 2006 Share Posted December 4, 2006 75 should do it:255,75,75Will produce a light pink/redPlay around with Paint or some basic image editor and change the RGB values when setting a colour. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.