Import a MsOffice color palette into Libre Office

Hello there,
It’s just a question if someone knows how to import a MsOffice color palette into Libre Office directly, or a way to convert the themex file into a libre office one, or being in the understand that the only way is to write the soc file from zero

Thanks again :slight_smile:

Hello @abubu :wink:

As i know, there is no tool for that.

I guess there is no tool for that.

In short, the soc file looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<ooo:color-table xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:xlink="" xmlns:svg="" xmlns:ooo="">
<draw:color draw:name="Gainsboro" draw:color="#DCDCDC"/>
<draw:color draw:name="FloralWhite" draw:color="#FFFAF0"/>
<draw:color draw:name="OldLace" draw:color="#FDF5E6"/>
<draw:color draw:name="Linen" draw:color="#FAF0E6"/>
<draw:color draw:name="AntiqueWhite" draw:color="#FAEBD7"/>

This file have to be saved in ~/.config/libreoffice/4/user/config/. Give it a proper name like my-awesome-palette.soc and it will be displayed in libreoffce.

Maybe this helps also:

Beside that… if the color palette of msoffice is looking like that (that type is the only one i found on the internet):

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<a:clrScheme xmlns:a="" name="Slidehelper - 149"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="323232"/></a:dk2><a:lt2><a:srgbClr val="E3DED1"/></a:lt2>

<a:accent1><a:srgbClr val="004D40"/></a:accent1>
<a:accent2><a:srgbClr val="00695C"/></a:accent2>
<a:accent3><a:srgbClr val="00796B"/></a:accent3>
<a:accent4><a:srgbClr val="00897B"/></a:accent4>
<a:accent5><a:srgbClr val="009688"/></a:accent5>
<a:accent6><a:srgbClr val="26A69A"/></a:accent6>

<a:hlink><a:srgbClr val="004D40"/></a:hlink>
<a:folHlink><a:srgbClr val="00695C"/></a:folHlink>

Then it should easily possible to convert it.

If you have an example file… just send it to me. If I have time, i could write a short script for that.


Thank you for your response. I used a pretty cheap method. Took a color palette screenshot and use gpick to extract all the codes, saved it and using editor with a template, replace then and formatting it, and my pallet is working :slight_smile: :smile: