• Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      There is no present way to set custom colours for particular rows or cells in a table i.e the background colour.

            [CONFCLOUD-6482] Custom background colour for rows or cells in table

            I would like the ability to use macros to set table background color (more like fill), for the full height and width of the cell. bgcolor only highlights the text, not the full height and text of the table cell.

            Belinda Randolph added a comment - I would like the ability to use macros to set table background color (more like fill), for the full height and width of the cell. bgcolor only highlights the text, not the full height and text of the table cell.

            Where's the documentation on how to set even basic background cell colors? I don't see anything in the table editor that looks remotely applicable.

            Software Admin added a comment - Where's the documentation on how to set even basic background cell colors? I don't see anything in the table editor that looks remotely applicable.

            Doug Swartz added a comment - - edited

            It is possible to set custom colors, if you're willing to edit the table cell definition in Atlassian's pseudo XHTML editor.

            For example, this table:
            {{<table>
            <tbody>
            <tr>
            <td style="background-color: rgb(100,149,237);">
            <p>
            <strong>Has a Cornflower background</strong>
            </p>
            <p> </p>
            </td>
            </tr>
            </tbody>
            </table>
            }}

            Results in a one row, one cell table that looks like this:

            Note: Color name generally does not work. You need to enter the color either in the decimal RGB form as shown, or in Hex (#rrggbb). If you enter it in hex, the Atlassian editor will convert it to the rgb decimal form.

            This is undocumented behavior. Atlassian may break it in the future. This is documented to work on Confluence 5.4.4.

            Doug Swartz added a comment - - edited It is possible to set custom colors, if you're willing to edit the table cell definition in Atlassian's pseudo XHTML editor. For example, this table: {{<table> <tbody> <tr> <td style="background-color: rgb(100,149,237);"> <p> <strong>Has a Cornflower background</strong> </p> <p> </p> </td> </tr> </tbody> </table> }} Results in a one row, one cell table that looks like this: Note: Color name generally does not work. You need to enter the color either in the decimal RGB form as shown, or in Hex (#rrggbb). If you enter it in hex, the Atlassian editor will convert it to the rgb decimal form. This is undocumented behavior. Atlassian may break it in the future. This is documented to work on Confluence 5.4.4.

            Fully agree with @Michael Brinson comments (from 2014!!!!!!!!)
            So, Atlassian team, what about it?

            Antonio Celso Dias Duarte added a comment - Fully agree with @Michael Brinson comments (from 2014!!!!!!!!) So, Atlassian team, what about it?

            Atlassian either needs to re-open this issue and add the votes from https://jira.atlassian.com/browse/CONF-27618 to this one, or else add all of the votes from this one over to https://jira.atlassian.com/browse/CONF-27618.

            It's great that the ability to set background colors for cells has been added, but the description for this request is "There is no present way to set CUSTOM colours ..." Adding 5 set colors is NOT CUSTOM.

            Michael Brinson added a comment - Atlassian either needs to re-open this issue and add the votes from https://jira.atlassian.com/browse/CONF-27618 to this one, or else add all of the votes from this one over to https://jira.atlassian.com/browse/CONF-27618 . It's great that the ability to set background colors for cells has been added, but the description for this request is "There is no present way to set CUSTOM colours ..." Adding 5 set colors is NOT CUSTOM.

            Vote up the latest issue ticket regarding this feature here: https://jira.atlassian.com/browse/CONF-27618

            Anna McDonald added a comment - Vote up the latest issue ticket regarding this feature here: https://jira.atlassian.com/browse/CONF-27618

            It's not possible in v5.6.1 either. There's no reason why we should not be able to set custom background colors in tables. There are options on the font colors, so why not the tables? On that topic, we should be able to set any hex color value for fonts and backgrounds via the editor. Why is this not available?

            Anna McDonald added a comment - It's not possible in v5.6.1 either. There's no reason why we should not be able to set custom background colors in tables. There are options on the font colors, so why not the tables? On that topic, we should be able to set any hex color value for fonts and backgrounds via the editor. Why is this not available?

            jan.mueller, it is possible, just very limited. There are five colors to choose from...
            Look for the 'Highlight' button on the right side of the table toolbar. https://confluence.atlassian.com/display/DOC/Working+with+Tables

            Pål Nilsen added a comment - jan.mueller , it is possible, just very limited. There are five colors to choose from... Look for the 'Highlight' button on the right side of the table toolbar. https://confluence.atlassian.com/display/DOC/Working+with+Tables

            Resolved with version 4.3? It's clearly not possible in 5.3.4 or the current version of onDemand. How would you classify this issue as "resolved" with resolution "fixed"? :blink:

            Jan Müller added a comment - Resolved with version 4.3? It's clearly not possible in 5.3.4 or the current version of onDemand. How would you classify this issue as "resolved" with resolution "fixed"? :blink:

            patsissons added a comment -

            I'll agree the limited color set is very annoying. but if you're developer able, you can install the source editor add-on and edit the styles yourself manually.

            https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor

                        <td colspan="1" style="background-color: black;">
                          <ac:image>
                            <ri:attachment ri:filename="computer.png"/>
                          </ac:image>
                        </td>
            

            patsissons added a comment - I'll agree the limited color set is very annoying. but if you're developer able, you can install the source editor add-on and edit the styles yourself manually. https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor <td colspan= "1" style= "background-color: black;" > <ac:image> <ri:attachment ri:filename= "computer.png" /> </ac:image> </td>

              cpetchell Petch (Inactive)
              ivan@atlassian.com Ivan Benko [Atlassian]
              Votes:
              126 Vote for this issue
              Watchers:
              94 Start watching this issue

                Created:
                Updated:
                Resolved: