On Aug 27, 12:08 am, Sefu <[email protected]> wrote: > After a bit of playing around, I finally managed > to get a few combinatons that resulted in the '#FF0000' pure red I was > looking for, and also did the decimal conversions: > > 0xFFFFFF00 = 4042321920 > 0xF0FF0000 = 4043243520 > 0xF0F0F000 = 4294967040 > 0xFFF00000 = 4293918720 > > ...I then entered the decimal value in the styledMap 'hue' option, and > got a pure red in all cases. >
as a hue of pure red, all these numbers are multiples of 360 degrees if the numbers are of the form Fxxxxx00, we can factorise this as 15*X*16*16, and since 360 = 15x3x8, then the number is divisible by 360 if X is divisible by 3. A number is divisible by 3 if the sum of its digits is divisible by 3, and if the only digits are F or 0, that means there can be either 3 or 6 Fs in the number Fxxxxx00 for the following pure reds: 0xFFFFFF00 0xFF000F00 0xFF00F000 0xFF0F0000 0xFFF00000 0xF0F00F00 0xF0F0F000 0xF0FF0000 0xF00F0F00 0xF00FF000 0xF000FF00 ... -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
