I use resources from other developers all of the time. I know I will not be able to recognize all of them, but I want to start trying to keep notes. Some of these may get a post of their own, but for now:
JSColor Website
This is a color picker plugin using Javascript. Thank you for your work! I emailed the developer asking about determining whether text should be white or black when using a given RGB color as a background:
This is a color picker plugin using Javascript. Thank you for your work! I emailed the developer asking about determining whether text should be white or black when using a given RGB color as a background:
Hi Gavin,
sorry for the late response.
I first calculate color's luminance and then determine if it is darker than 50%, in which case I use white font, otherwise black one.
The algorithm is as follows:
styleElement.style.color =
0.213 * this.rgb[0] +
0.715 * this.rgb[1] +
0.072 * this.rgb[2]
< 0.5 ? '#FFF' : '#000';
Numbers in the array "this.rgb" range from 0.0 to 1.0. If your input values range from 0 to 255, you must obviously compare them with 128 instead of 0.5.
See also:
http://stackoverflow.com/questions/596216/formula-to-determine-brightness-of-rgb-color
Regards,
---
Jan Odvarko
Help with Color Themes Website
This website helps me to establish a color theme. Thank you for your work!
This website helps me to establish a color theme. Thank you for your work!
Paypal Guru
I haven't started using these libraries very much, but I have tested them a little and I intend to use them! Thank you for your work! I found this developer through the stackoverflow website.
I haven't started using these libraries very much, but I have tested them a little and I intend to use them! Thank you for your work! I found this developer through the stackoverflow website.
PHP Login Guide
David Carr's login & registration guide has helped me get up and going. I am almost paying my bills now! Thank you so much for your help!
David Carr's login & registration guide has helped me get up and going. I am almost paying my bills now! Thank you so much for your help!
Google Fonts Website
This is a nice resource for using different fonts on your website. I think Google knows I am thankful in many ways. :)
This is a nice resource for using different fonts on your website. I think Google knows I am thankful in many ways. :)
No comments:
Post a Comment