# Changing input form field text color

**URL:** <https://community.hubspot.com/t/changing-input-form-field-text-color/75589>\
**Category:** Lead Capture Tools\
**Created:** [February 20, 2023, 5:19pm UTC](https://community.hubspot.com/t/changing-input-form-field-text-color/75589 "2023-02-20T17:19:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HAnderson4](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@HAnderson4](https://community.hubspot.com/u/HAnderson4)\
**Post date:** [February 20, 2023, 5:19pm UTC](https://community.hubspot.com/t/changing-input-form-field-text-color/75589/1 "2023-02-20T17:19:38Z")

</div>

Hello! I’ve embedded a HubSpot form into a Webflow site, and the background is all black. The background for the input fields are also black, so I’d like to change the text color when people are typing their info into the form from dark grey to white, so their writing shows up better for them. Either that, or change the background of the input fields to white. Any advice?

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [February 22, 2023, 10:59am UTC](https://community.hubspot.com/t/changing-input-form-field-text-color/75589/2 "2023-02-22T10:59:07Z")

</div>

Hi @HAnderson4,

Thank you for reaching out to the Community!

I wanted to tag in a couple of subject matter experts to see if they have any advice:

Hi @jonchim, @Brenner, [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259), do you have any tips for @HAnderson4? Thank you!

Cheers  
Mia, Community team

---

<div class="post-metadata">

**Author:** ![jonchim](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jonchim/32/88818_2.png) [@jonchim](https://community.hubspot.com/u/jonchim)\
**Post date:** [February 22, 2023, 3:25pm UTC](https://community.hubspot.com/t/changing-input-form-field-text-color/75589/3 "2023-02-22T15:25:27Z")

</div>

Hey @HAnderson4,

You should be able to add some styles to your css file to target these inputs, you might have to wrap the hubspot embedded form in a class or id so that you don’t change colors of all forms if it’s only just this one form you want to style.

```lia-code-sample
input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], input[type="file"], textarea, select {
color: 'your hex color here';
}

```

---

<div class="post-metadata">

**Author:** ![HAnderson4](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@HAnderson4](https://community.hubspot.com/u/HAnderson4)\
**Post date:** [February 22, 2023, 4:08pm UTC](https://community.hubspot.com/t/changing-input-form-field-text-color/75589/4 "2023-02-22T16:08:03Z")

</div>

Hello! Thank you for the response - I’m very unfamiliar with coding… How would I make sure it only impacts the one form?
