Timeline for How can I get 'face' functions in emacs to show a gradient colour?
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 3, 2018 at 17:54 | vote | accept | xeijin | ||
Feb 3, 2018 at 17:32 | answer | added | db48x | timeline score: 0 | |
Feb 3, 2018 at 16:44 | comment | added | xeijin | I've edited the question to hopefully make my objective a bit clearer. | |
Feb 3, 2018 at 16:43 | history | edited | xeijin | CC BY-SA 3.0 |
edited for additional clarity
|
Feb 3, 2018 at 16:36 | comment | added | lawlist |
You will need to use a color name like "red" or a hex "#FF0000" in conjunction with set-face-background , so convert your stuff into either format. If your question is simply how to convert a 255 192 203 to a hex, then there should be a function in color.el or in Drew's color / eye-dropper libraries. If your question is how to merge two of those (255 192 203 / 250 128 114) into one hex, then consider editing your question to say how do I merge these two animals into one hex ...?
|
|
Feb 3, 2018 at 16:27 | comment | added | xeijin | I'm looking for help on how to approach the problem. I believe Color-gradient solves the problem of figuring out what each shade of colour needs to be, between the two colours, but I'm unsure as to how to modify either the face function or fringe to accommodate this. | |
Feb 3, 2018 at 16:22 | comment | added | Drew |
color-gradient just gives you a list of colors. How do you expect to use that in a single face? It's not clear what you are trying to do, in detail.
|
|
Feb 3, 2018 at 16:20 | history | edited | Drew | CC BY-SA 3.0 |
edited tags
|
Feb 3, 2018 at 15:21 | comment | added | Basil | Perhaps "How can I display a colour gradient in the fringe?" or similar would be a more accurate title? | |
Feb 3, 2018 at 15:19 | history | asked | xeijin | CC BY-SA 3.0 |