Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Calculating Color Contrast for Legible Text in Ruby. Parent comment
"#000000" if sum([int(i,16) for i in re.findall("..",myColour)]) > 382.5 else "#ffffff"
There are no comments on this comment yet.
"#000000" if sum([int(i,16) for i in re.findall("..",myColour)]) > 382.5 else "#ffffff"