c# - Why is System.Drawing.Color.Green (0, 128,0)? -


i thought should (0,255,0). know why?

because .net framework uses w3c version of x11 color names. there's apparently 2 different "green" colors, x11 1 (0, 255, 0), , w3c 1 (0, 128, 0).

it apparently not known why w3c (or anybody) adopted particular list of colors standard, although speculate it's because it's real extensive list of "easy-to-use, human-readable" names rgb values (i can't imagine color #6495ed looks until up).

there differences between w3c , x11 list (like "gray" , "purple" having different rgb values between w3c , x11). also, .net framework defines "darkseagreen" (143, 188, 139) instead of (143, 188, 143). wouldn't surprised if rationale these different values "it looked more green/gray/purple/etc."


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -