Hello Lea, Wednesday, July 23, 2014, 8:01:48 PM, you wrote: > The gray() functional notation [1] is a great idea for specifying > desaturated colors with varying degrees of transparency in a concise > and readable way. However, I’m not sure about the naming. Right now, > the named color `gray` corresponds to gray(50%). gray(0%) is black and gray(100%) is white. Suggest rename: 100ShadesOf(gray%) > After using this function myself for a while (through emulating it > in SASS), I’m starting to think its naming is quite unintuitive. The > usual assumption with functions that take a 0-100% parameter is that > 100% gives the full “effect” of the function name, in this case, > gray. That is a good point. Hence opacity(%) rather than transparency(%). > Ask any random person what color they think gray(100%) > represents, I doubt they’d guess white. > Although, I’m not sure if white(0%) == black is exactly > intuitive, but it seems more intuitive than gray(0%). Right. Would they guess better for black(0%) = white or white(0%) = black? -- Best regards, Chris mailto:chris@w3.orgReceived on Wednesday, 23 July 2014 20:56:49 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:42 UTC