# 是否支持为每个块引用设置不同颜色，具体取决于被引用者？

**URL:** <https://meta.discourse.org/t/is-it-possible-to-support-having-blockquotes-each-with-a-different-color-depending-on-who-is-being-quoted/117430>\
**Category:** Support\
**Created:** [2019年五月10日 21:37 UTC](https://meta.discourse.org/t/is-it-possible-to-support-having-blockquotes-each-with-a-different-color-depending-on-who-is-being-quoted/117430 "2019-05-10T21:37:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnk8n](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@dnk8n](https://meta.discourse.org/u/dnk8n)\
**Post date:** [2019年五月10日 21:37 UTC](https://meta.discourse.org/t/is-it-possible-to-support-having-blockquotes-each-with-a-different-color-depending-on-who-is-being-quoted/117430/1 "2019-05-10T21:37:27Z")

</div>

I quite like this format of [blockquote](https://meta.discourse.org/t/custom-styling-for-blockquote/103028) and just learned about the ability to modify CSS to support it.

What I really want is to be able to allow different colors in order to support a dialogue between multiple parties, a consistent color per member of the discussion.

This is to support some fiction or piece of a play in an elegant and beautiful way.

Thanks for your consideration.

---

<div class="post-metadata">

**Author:** ![dnk8n](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@dnk8n](https://meta.discourse.org/u/dnk8n)\
**Post date:** [2019年五月10日 21:42 UTC](https://meta.discourse.org/t/is-it-possible-to-support-having-blockquotes-each-with-a-different-color-depending-on-who-is-being-quoted/117430/2 "2019-05-10T21:42:07Z")

</div>

An example:

Dean:

> Hi Mary

Mary:

> Hi Dean

Random:

> Hello ya’ll

I want to be able to specify a blue blockquote for Dean, an orange blockquote for Mary and a pink blockquote for Random.

I don’t need to predefined which one, a color code of the writer’s choosing will be fine. The current grey default is fine.

---

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [2019年五月10日 22:02 UTC](https://meta.discourse.org/t/is-it-possible-to-support-having-blockquotes-each-with-a-different-color-depending-on-who-is-being-quoted/117430/3 "2019-05-10T22:02:39Z")

</div>

A random background colour selected from a range seeded with a hash of the quoted username would be cool.

Maybe you can do a theme component for that?

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2022年九月28日 11:16 UTC](https://meta.discourse.org/t/is-it-possible-to-support-having-blockquotes-each-with-a-different-color-depending-on-who-is-being-quoted/117430/5 "2022-09-28T11:16:52Z")

</div>


