# ColorPicker Remove Alpha

**URL:** <https://forum.radzen.com/t/colorpicker-remove-alpha/6205>\
**Category:** Radzen.Blazor Components\
**Created:** [January 5, 2021, 11:09am UTC](https://forum.radzen.com/t/colorpicker-remove-alpha/6205 "2021-01-05T11:09:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris1](https://forum.radzen.com/user_avatar/forum.radzen.com/chris1/32/5580_2.png) [@Chris1](https://forum.radzen.com/u/Chris1)\
**Post date:** [January 5, 2021, 11:09am UTC](https://forum.radzen.com/t/colorpicker-remove-alpha/6205/1 "2021-01-05T11:09:35Z")

</div>

Is it possible to disable the Alpha element of the colorpicker without CSS?

I'd like to offer the option to pick colours using either typing HEX, RGB or picking from the HSV picker.

But don't want the Alpha part to be an option.

Lastly is there a method to get just a HEX value out? (it accepts it for input)

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [January 5, 2021, 11:31am UTC](https://forum.radzen.com/t/colorpicker-remove-alpha/6205/2 "2021-01-05T11:31:52Z")

</div>

Hi @Chris1,

At the moment this is not possible. You can only hide all RGBA text boxes via the ShowRGBA property.

---

<div class="post-metadata">

**Author:** ![Gabriel](https://forum.radzen.com/user_avatar/forum.radzen.com/gabriel/32/16131_2.png) [@Gabriel](https://forum.radzen.com/u/Gabriel)\
**Post date:** [March 25, 2024, 1:54pm UTC](https://forum.radzen.com/t/colorpicker-remove-alpha/6205/3 "2024-03-25T13:54:15Z")

</div>

Actually, we did this as our application does not support Alpha values at the moment.

```auto
.rz-color-box:last-child {
   display: none !important;
}

.rz-hue-and-alpha > .rz-alpha-picker {
    display: none !important;
}

.rz-hue-and-alpha {
    margin-top: auto!important; margin-bottom: auto!important;
} 

```

The underlying functionality is still there, but the controls are hidden.

---

<div class="post-metadata">

**Author:** ![fabius916](https://forum.radzen.com/letter_avatar_proxy/v4/letter/f/bb73d2/32.png) [@fabius916](https://forum.radzen.com/u/fabius916)\
**Post date:** [August 26, 2025, 8:35am UTC](https://forum.radzen.com/t/colorpicker-remove-alpha/6205/4 "2025-08-26T08:35:08Z")

</div>

Same problem here. For me this css code worked:

```auto
/* Alpha-Slider im Popup ausblenden */
.rz-popup .rz-alpha-picker,
.rz-editor-popup .rz-alpha-picker {
  display: none !important;
}

/* (optional) zweite Preview-Box (Alpha) ausblenden, falls vorhanden */
.rz-popup .rz-colorpicker-preview .rz-color-box:last-child,
.rz-editor-popup .rz-colorpicker-preview .rz-color-box:last-child {
  display: none !important;
}

/* (optional) Lücke schließen, wenn Alpha fehlt */
.rz-popup .rz-hue-and-alpha,
.rz-editor-popup .rz-hue-and-alpha {
  gap: 0 !important;
}

```
