You can set any element to one of the 10 colors or 9 shades of grey:
--- title: Color helpers layout: docs theme: helpers doc-tab: helpers doc-subtab: helpers-color breadcrumb: - home - documentation - helpers - helpers-color --- {% include docs/elements/anchor.html name="Text color" %}
You can set any element to one of the 10 colors or 9 shades of grey:
Class | Color | Example |
---|---|---|
has-text-white |
{% include docs/color/white.html %} | Hello Bulma |
has-text-black |
{% include docs/color/black.html %} | Hello Bulma |
has-text-light |
{% include docs/color/white-ter.html %} | Hello Bulma |
has-text-dark |
{% include docs/color/grey-darker.html %} | Hello Bulma |
has-text-primary |
{% include docs/color/turquoise.html %} | Hello Bulma |
has-text-link |
{% include docs/color/blue.html %} | Hello Bulma |
has-text-info |
{% include docs/color/cyan.html %} | Hello Bulma |
has-text-success |
{% include docs/color/green.html %} | Hello Bulma |
has-text-warning |
{% include docs/color/yellow.html %} | Hello Bulma |
has-text-danger |
{% include docs/color/red.html %} | Hello Bulma |
Class | Shade | Example |
---|---|---|
has-text-black-bis |
{% include docs/color/black-bis.html %} | Hello Bulma |
has-text-black-ter |
{% include docs/color/black-ter.html %} | Hello Bulma |
has-text-grey-darker |
{% include docs/color/grey-darker.html %} | Hello Bulma |
has-text-grey-dark |
{% include docs/color/grey-dark.html %} | Hello Bulma |
has-text-grey |
{% include docs/color/grey.html %} | Hello Bulma |
has-text-grey-light |
{% include docs/color/grey-light.html %} | Hello Bulma |
has-text-grey-lighter |
{% include docs/color/grey-lighter.html %} | Hello Bulma |
has-text-white-ter |
{% include docs/color/white-ter.html %} | Hello Bulma |
has-text-white-bis |
{% include docs/color/white-bis.html %} | Hello Bulma |
You can use each color in their light and
dark versions. Simply append *-light
or
*-dark
.
Class | Light/Dark color | Example |
---|---|---|
has-text-primary-light |
{% include docs/color/turquoise-light.html %} | Hello Bulma |
has-text-link-light |
{% include docs/color/blue-light.html %} | Hello Bulma |
has-text-info-light |
{% include docs/color/cyan-light.html %} | Hello Bulma |
has-text-success-light |
{% include docs/color/green-light.html %} | Hello Bulma |
has-text-warning-light |
{% include docs/color/yellow-light.html %} | Hello Bulma |
has-text-danger-light |
{% include docs/color/red-light.html %} | Hello Bulma |
has-text-primary-dark |
{% include docs/color/turquoise-dark.html %} | Hello Bulma |
has-text-link-dark |
{% include docs/color/blue-dark.html %} | Hello Bulma |
has-text-info-dark |
{% include docs/color/cyan-dark.html %} | Hello Bulma |
has-text-success-dark |
{% include docs/color/green-dark.html %} | Hello Bulma |
has-text-warning-dark |
{% include docs/color/yellow-dark.html %} | Hello Bulma |
has-text-danger-dark |
{% include docs/color/red-dark.html %} | Hello Bulma |
You can set any element to one of the 10 colors or 9 shades of grey:
Class | Background color |
---|---|
has-background-white |
{% include docs/color/white.html %} |
has-background-black |
{% include docs/color/black.html %} |
has-background-light |
{% include docs/color/white-ter.html %} |
has-background-dark |
{% include docs/color/grey-darker.html %} |
has-background-primary |
{% include docs/color/turquoise.html %} |
has-background-link |
{% include docs/color/blue.html %} |
has-background-info |
{% include docs/color/cyan.html %} |
has-background-success |
{% include docs/color/green.html %} |
has-background-warning |
{% include docs/color/yellow.html %} |
has-background-danger |
{% include docs/color/red.html %} |
Class | Background shade |
---|---|
has-background-black-bis |
{% include docs/color/black-bis.html %} |
has-background-black-ter |
{% include docs/color/black-ter.html %} |
has-background-grey-darker |
{% include docs/color/grey-darker.html %} |
has-background-grey-dark |
{% include docs/color/grey-dark.html %} |
has-background-grey |
{% include docs/color/grey.html %} |
has-background-grey-light |
{% include docs/color/grey-light.html %} |
has-background-grey-lighter |
{% include docs/color/grey-lighter.html %} |
has-background-white-ter |
{% include docs/color/white-ter.html %} |
has-background-white-bis |
{% include docs/color/white-bis.html %} |
You can use each color in their light and
dark versions. Simply append *-light
or
*-dark
.
Class | Light/Dark background | Example |
---|---|---|
has-background-primary-light |
{% include docs/color/turquoise-light.html %} | Hello Bulma |
has-background-link-light |
{% include docs/color/blue-light.html %} | Hello Bulma |
has-background-info-light |
{% include docs/color/cyan-light.html %} | Hello Bulma |
has-background-success-light |
{% include docs/color/green-light.html %} | Hello Bulma |
has-background-warning-light |
{% include docs/color/yellow-light.html %} | Hello Bulma |
has-background-danger-light |
{% include docs/color/red-light.html %} | Hello Bulma |
has-background-primary-dark |
{% include docs/color/turquoise-dark.html %} | Hello Bulma |
has-background-link-dark |
{% include docs/color/blue-dark.html %} | Hello Bulma |
has-background-info-dark |
{% include docs/color/cyan-dark.html %} | Hello Bulma |
has-background-success-dark |
{% include docs/color/green-dark.html %} | Hello Bulma |
has-background-warning-dark |
{% include docs/color/yellow-dark.html %} | Hello Bulma |
has-background-danger-dark |
{% include docs/color/red-dark.html %} | Hello Bulma |