# Floating label color

**URL:** <https://forum.ionicframework.com/t/floating-label-color/166465>\
**Category:** Ionic Framework\
**Created:** [June 17, 2019, 2:48pm UTC](https://forum.ionicframework.com/t/floating-label-color/166465 "2019-06-17T14:48:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jschneiderPatinfo](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@jschneiderPatinfo](https://forum.ionicframework.com/u/jschneiderPatinfo)\
**Post date:** [June 17, 2019, 2:48pm UTC](https://forum.ionicframework.com/t/floating-label-color/166465/1 "2019-06-17T14:48:39Z")

</div>

Hi everybody,

I’m looking for a solution to change the color of the label and the underline when floating in an input field.

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/8/f/8f7bb5a713085ab572e6d2afd58340cbd12a9d3d.png)

Now it’s in primary color but I want to change it to black… I’ve tried some solution found on this forum but nothing works for me.

Thanks for your help.
