How can I create a color with values for green, blue, orange, and gold only?
问题 If one knows the "weights" of red, green, and blue, one can create a color using a class like .blaRGB { color: rgb(128, 128, 128) } .blaHSL { color: hsl(33%, 34%, 33%) } and use it in HTML like so: <p class="blaRGB">BLA RGB</p> <p class="blaHSL">BLA HSL</p> With the values shown above, blaRGB is dingy gray and blaHSL is white. But what if one wants to represent combinations of other colors, such as green, blue, orange, and gold? Is there a way to define such colors with a notation like the