# Embed form

**URL:** <https://community.hubspot.com/t/embed-form/31851>\
**Category:** CMS Development\
**Created:** [February 16, 2021, 4:37pm UTC](https://community.hubspot.com/t/embed-form/31851 "2021-02-16T16:37:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adsa1w](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/adsa1w/32/60590_2.png) [@adsa1w](https://community.hubspot.com/u/adsa1w)\
**Post date:** [February 16, 2021, 4:37pm UTC](https://community.hubspot.com/t/embed-form/31851/1 "2021-02-16T16:37:59Z")

</div>

I can embed a form only as an Iframe and not as a script How to do it?  
I want to embed a form on an existing site, and not refer to another link, but as an iframe and not a script.

---

<div class="post-metadata">

**Author:** ![mangelet](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mangelet/32/83031_2.png) [@mangelet](https://community.hubspot.com/u/mangelet)\
**Post date:** [February 17, 2021, 11:43am UTC](https://community.hubspot.com/t/embed-form/31851/2 "2021-02-17T11:43:36Z")

</div>

@adsa1w when creating a form… right after publishing it, HubSpot will give you an embed code (= that script code actually creates an iframe for you -- thats the default settting anyway). Just copy and paste that _code_ where you want it to display.

---

<div class="post-metadata">

**Author:** ![akumartvu1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/akumartvu1/32/75439_2.png) [@akumartvu1](https://community.hubspot.com/u/akumartvu1)\
**Post date:** [September 15, 2021, 10:00am UTC](https://community.hubspot.com/t/embed-form/31851/3 "2021-09-15T10:00:23Z")

</div>

**How I can change the background color of hubspot Embed form**

Hi,

How we can change background of hubspot Embed form,  
I am using a hubspot embed form using iframe but i am not able to change the background color of that form body, is there any option/setting in hubspot where we can change the background color?

or is there any option where we can set custom css for that form?

Thanks
