# Unique color scheme for a category

**URL:** <https://meta.discourse.org/t/unique-color-scheme-for-a-category/278084>\
**Category:** Development\
**Created:** [September 6, 2023, 9:15pm UTC](https://meta.discourse.org/t/unique-color-scheme-for-a-category/278084 "2023-09-06T21:15:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [September 6, 2023, 9:26pm UTC](https://meta.discourse.org/t/unique-color-scheme-for-a-category/278084/2 "2023-09-06T21:26:21Z")

</div>

Hi @Rhababo 👋 welcome to Meta 🙂

If you haven’t worked with Discourse themes and development, I would start with the resources here:

> [@I want to learn how to program for Discourse](https://meta.discourse.org/t/i-want-to-learn-how-to-program-for-discourse/264925/2):
>
> without asking you to be more specific, these are a good start.

Also, for example, you can change the logo and header color and even icon colors for a specific category with CSS code something like this:

```scss
.category-<category-slug> .d-header {
    background: rgba(#ce0303, 0.90);
    .d-header-icons .d-icon {
        color: #cccccc;
    }
    .header-sidebar-toggle button .d-icon {
        color: #cccccc;
        &:hover {
            color: #999999;
        }
    }
}    
    
.category-<category-slug> .d-header #site-logo.logo-small {
	content:url($small-logo);
}

.category-<category-slug> .d-header #site-logo.logo-big {
	content:url($big-logo);
}

```

If you simply create a new theme, you can add code and upload the logos as assets. `<category-slug>` is the lower case category name that appears in the URL field of the browser (separate parent and subcategories with “-” dashes, as in `parentcategory-subcategory`.

There are also various #Customization > Theme component’s like this one that you could search for

> [@Colorful Categories](https://meta.discourse.org/t/colorful-categories/207267/1):
>
> discourse2Summary Colorful Categories uses each category’s colors in more places when you’re on a category topic list or within a topic.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/colorful-categories)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-colorful-categories](https://github.com/discourse/discourse-colorful-categories)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Features Colorful Categories uses each category’s colors in more places wh…

---

_[View the full topic](https://meta.discourse.org/t/unique-color-scheme-for-a-category/278084)._
