cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <header class="site-header bg-current-color"><h1>Monochrome SVG Logo Gallery</h1></header>

<div class="page-wrap container">
  <div class="wrapper-colorconverter w-3v10 unit">
      <pre contenteditable class="color-converter">currentColor: <b>&nbsp;hsla</b>(
<span class="hsl-value" id="hsl-h-value">190,</span>  <input id="hsl-h" type="range" min="0" max="360" value="190" onChange="changeHSL()">&nbsp;H&nbsp;&nbsp;
<span class="hsl-value" id="hsl-s-value">100%,</span> <input id="hsl-s" type="range" min="0" max="100" value="100" onChange="changeHSL()">&nbsp;S&nbsp;&nbsp;
<span class="hsl-value" id="hsl-l-value">10%, </span> <input id="hsl-l" type="range" min="0" max="100" value="10" onChange="changeHSL()">&nbsp;L&nbsp;&nbsp;
<span class="hsl-value" id="hsl-a-value">1.00</span>	 <input id="hsl-a" type="range" min="0" max="100" value="100" onChange="changeHSL()">&nbsp;A&nbsp;&nbsp;
);        </pre>
  </div>

  <main class="w-7v10 unit">

  <!-- begin monochrome logos -->
  <div id="logoMonochrome" class="wrapper-logo logo-monochrome">

    <div class="clearfix mtm">
      <div class="wrapper-logo_inner wrapper-logo_inner w-1v3">
        <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 61.643 62" class="svg-monochrome">
          <g>
          <path fill="currentColor" opacity="0.35" d="M0,8.359v45.277c0.001-2.138,0.817-4.275,2.448-5.906l14.27-14.27V8.359c0-4.614-3.738-8.355-8.351-8.359    H8.35C3.737,0.004,0,3.746,0,8.359z M11.779,8.359c0,1.889-1.531,3.419-3.42,3.419c-1.888,0-3.419-1.531-3.419-3.419    s1.531-3.42,3.419-3.42C10.249,4.939,11.779,6.471,11.779,8.359z" data-color="#F89C20" data-opacity="0.35" />
          <path opacity="0.58" fill="currentColor" d="M24.912,25.268c1.632-1.632,3.771-2.448,5.91-2.448c-2.139,0-4.279,0.815-5.912,2.448l-8.191,8.192v20.181    c0,2.308-0.936,4.398-2.449,5.911L30.822,43l-5.91-5.91C21.647,33.826,21.647,28.533,24.912,25.268z" data-color="#E54E26" data-opacity="0.58"/>
          <path opacity="0.69" fill="currentColor" d="M0,53.636c0,0.001,0,0.002,0,0.004c0,0.035,0,0.069,0,0.103c0,0.018,0,0.035,0.001,0.053    c0,0.017,0,0.034,0,0.05c0.001,0.024,0.002,0.049,0.003,0.072c0,0.009,0,0.019,0,0.028c0.001,0.029,0.002,0.059,0.003,0.088    c0,0.004,0,0.007,0,0.009c0.045,0.932,0.244,1.855,0.598,2.732c0.002,0.005,0.004,0.009,0.006,0.014    c0.007,0.018,0.015,0.035,0.021,0.052c0.007,0.017,0.014,0.034,0.021,0.05c0.002,0.005,0.004,0.01,0.007,0.016    c0.369,0.869,0.881,1.662,1.508,2.351c0.003,0.004,0.006,0.007,0.008,0.01c0.019,0.021,0.039,0.041,0.058,0.063    c0.007,0.007,0.015,0.015,0.021,0.022c0.016,0.017,0.032,0.033,0.047,0.05c0.013,0.013,0.026,0.026,0.039,0.041    c0.01,0.01,0.021,0.021,0.031,0.032c0.024,0.024,0.05,0.05,0.074,0.075c0.024,0.024,0.049,0.048,0.074,0.073    c0.01,0.01,0.022,0.021,0.033,0.032c0.014,0.013,0.027,0.026,0.04,0.039c0.016,0.016,0.033,0.031,0.05,0.047    c0.007,0.006,0.015,0.014,0.023,0.021c0.021,0.019,0.042,0.039,0.062,0.058c0.003,0.003,0.006,0.005,0.01,0.007    c0.688,0.626,1.482,1.139,2.351,1.508c0.006,0.002,0.012,0.005,0.018,0.008c0.016,0.006,0.032,0.013,0.048,0.02    c0.018,0.008,0.036,0.015,0.053,0.021c0.004,0.002,0.009,0.004,0.013,0.006c0.877,0.354,1.802,0.555,2.732,0.598    c0.003,0.001,0.005,0.001,0.008,0.001c0.03,0.001,0.06,0.003,0.09,0.004c0.009,0,0.018,0,0.026,0    c0.025,0.002,0.049,0.002,0.074,0.003c0.016,0.001,0.03,0.001,0.047,0.001c0.018,0.001,0.037,0.001,0.055,0.001    C8.288,61.999,8.32,62,8.352,62h0.014c0.033,0,0.064-0.001,0.097-0.001c0.018,0,0.036,0,0.054-0.001c0.016,0,0.031,0,0.047-0.001    c0.025-0.001,0.049-0.001,0.074-0.003c0.009,0,0.017,0,0.026,0c0.03-0.001,0.06-0.003,0.09-0.004l0.008-0.001    c0.93-0.043,1.854-0.243,2.731-0.597c0.004-0.003,0.009-0.005,0.014-0.007c0.017-0.006,0.034-0.014,0.051-0.021    c0.017-0.006,0.034-0.014,0.051-0.021c0.005-0.002,0.01-0.004,0.016-0.006c0.869-0.369,1.663-0.882,2.352-1.509    c0.002-0.002,0.005-0.003,0.007-0.006c0.021-0.02,0.043-0.039,0.065-0.06c0.006-0.006,0.014-0.012,0.021-0.019    c0.017-0.017,0.035-0.033,0.052-0.049c0.012-0.011,0.024-0.024,0.036-0.035c0.013-0.012,0.025-0.023,0.038-0.035    c0.025-0.024,0.05-0.049,0.073-0.073c1.513-1.514,2.449-3.603,2.449-5.911V33.46L2.449,47.73C0.817,49.361,0.001,51.498,0,53.636z     M8.359,57.066c-1.889,0-3.42-1.531-3.42-3.42c0-1.889,1.531-3.42,3.42-3.42c1.89,0,3.42,1.531,3.42,3.42    C11.779,55.535,10.249,57.066,8.359,57.066z" data-color="#D02E27" data-opacity="0.69"/>
          <path opacity="0.65" fill="currentColor" d="M44.924,53.641V33.46l-8.19-8.192c-1.633-1.633-3.773-2.448-5.912-2.448c2.139,0,4.277,0.816,5.91,2.448    c0.612,0.612,1.109,1.296,1.492,2.023c1.657,3.156,1.16,7.146-1.492,9.799L30.822,43l16.547,16.545    c-0.801-0.802-1.435-1.77-1.857-2.844C45.137,55.753,44.924,54.723,44.924,53.641z" data-color="#694D9F" data-opacity="0.65"/>
          <path opacity="0.83" fill="currentColor" d="M38.224,27.292c-0.383-0.728-0.88-1.411-1.492-2.023c-1.633-1.632-3.771-2.448-5.91-2.448    c-2.139,0-4.278,0.816-5.91,2.448c-3.264,3.265-3.264,8.558,0,11.822l5.91,5.91l5.91-5.91    C39.384,34.438,39.881,30.447,38.224,27.292z M28.403,33.597c-1.335-1.335-1.335-3.5,0-4.836c0.668-0.667,1.543-1.003,2.419-1.002    c0.875-0.001,1.75,0.334,2.419,1.002c1.336,1.336,1.336,3.5,0,4.836c-0.668,0.668-1.543,1.001-2.419,1.001    C29.946,34.599,29.072,34.266,28.403,33.597z" data-color="#7F1333" data-opacity="0.83"/>
          <path opacity="0.76" fill="currentColor" d="M45.511,56.702c0.423,1.074,1.057,2.042,1.857,2.844c0.002,0.002,0.003,0.004,0.004,0.006    c0.025,0.024,0.05,0.048,0.074,0.073c0.013,0.012,0.024,0.024,0.038,0.035c0.011,0.011,0.023,0.024,0.036,0.035    c0.018,0.017,0.034,0.033,0.052,0.049c0.007,0.006,0.014,0.012,0.021,0.019c0.021,0.02,0.042,0.041,0.064,0.06    c0.003,0.003,0.005,0.004,0.008,0.006c0.688,0.626,1.482,1.14,2.353,1.508c0.005,0.002,0.01,0.005,0.017,0.007    c0.016,0.007,0.032,0.014,0.05,0.021c0.017,0.007,0.034,0.014,0.053,0.021c0.003,0.001,0.008,0.003,0.012,0.006    c0.877,0.354,1.803,0.554,2.732,0.597l0.009,0.001c0.029,0.001,0.06,0.003,0.09,0.004c0.008,0,0.018,0,0.025,0.001    c0.024,0,0.049,0.001,0.073,0.002c0.017,0,0.032,0.001,0.048,0.001c0.019,0,0.037,0.001,0.054,0.001c0.032,0,0.064,0,0.097,0    h0.016c0.031,0,0.062,0,0.095,0c0.018,0,0.037-0.001,0.055-0.001c0.017,0,0.032-0.001,0.048-0.001    c0.023-0.001,0.049-0.002,0.073-0.002c0.009-0.001,0.018-0.001,0.026-0.001c0.029-0.001,0.061-0.003,0.09-0.004    c0.002,0,0.005,0,0.007-0.001c0.932-0.043,1.855-0.243,2.733-0.598c0.005-0.002,0.009-0.004,0.013-0.005    c0.019-0.007,0.036-0.015,0.054-0.022c0.016-0.006,0.033-0.013,0.049-0.02c0.006-0.003,0.012-0.006,0.016-0.008    c0.869-0.369,1.664-0.881,2.353-1.507c0.003-0.003,0.007-0.005,0.009-0.009c0.021-0.019,0.042-0.038,0.063-0.057    c0.008-0.007,0.016-0.015,0.022-0.021c0.017-0.016,0.033-0.032,0.051-0.047c0.014-0.012,0.026-0.025,0.039-0.039    c0.011-0.011,0.022-0.021,0.033-0.032c0.025-0.024,0.05-0.049,0.074-0.073c0.025-0.024,0.05-0.05,0.073-0.075    c0.011-0.011,0.021-0.022,0.032-0.032c0.013-0.014,0.026-0.027,0.039-0.042c0.015-0.016,0.031-0.032,0.047-0.049    c0.007-0.008,0.015-0.015,0.021-0.022c0.019-0.021,0.038-0.042,0.057-0.063c0.003-0.003,0.007-0.006,0.009-0.01    c0.626-0.688,1.138-1.482,1.508-2.351c0.002-0.006,0.005-0.011,0.007-0.016c0.007-0.017,0.014-0.034,0.021-0.05    c0.008-0.017,0.015-0.035,0.022-0.052c0.001-0.005,0.003-0.009,0.005-0.014c0.354-0.875,0.554-1.8,0.598-2.731    c0-0.003,0-0.006,0-0.01c0.002-0.029,0.003-0.059,0.005-0.088c0-0.009,0-0.019,0-0.028c0.001-0.023,0.002-0.047,0.003-0.072    c0-0.017,0.001-0.034,0.001-0.05c0-0.018,0-0.035,0.001-0.053c0-0.034,0-0.068,0-0.103c0-2.14-0.816-4.279-2.448-5.911    l-14.27-14.27v20.181C44.925,54.723,45.137,55.753,45.511,56.702z M53.285,50.226c1.889,0,3.42,1.531,3.42,3.42    c0,1.889-1.531,3.42-3.42,3.42s-3.421-1.531-3.421-3.42C49.864,51.757,51.396,50.226,53.285,50.226z" data-color="#263C81" data-opacity="0.76"/>
          <path opacity="0.4" fill="currentColor" d="M44.925,8.359V33.46l14.271,14.27c1.631,1.632,2.447,3.771,2.447,5.911V8.359    C61.643,3.742,57.9,0,53.285,0C48.667,0,44.925,3.742,44.925,8.359z M53.285,4.939c1.889,0,3.42,1.531,3.42,3.42    s-1.531,3.42-3.42,3.42c-1.89,0-3.421-1.532-3.421-3.42S51.395,4.939,53.285,4.939z" data-color="#2EB3C4" data-opacity="0.4"/>
          </g>
        </svg>
      </div>

      <div class="wrapper-logo_inner wrapper-logo_inner w-1v3">
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="svg-monochrome">
          <title>HTML5 Logo</title>
          <polygon opacity="0.56" fill="currentColor" points="107.644,470.877 74.633,100.62 437.367,100.62 404.321,470.819 255.778,512" data-color="#E44D26" data-opacity="0.56"/>
          <polygon opacity="0.15" fill="#fff" class="fill-white" points="256,480.523 376.03,447.246 404.27,130.894 256,130.894" data-color="#F16529" data-opacity="0.15"/>
          <polygon opacity="0.92" fill="#fff" class="fill-white" points="256,268.217 195.91,268.217 191.76,221.716 256,221.716 256,176.305 255.843,176.305 142.132,176.305 143.219,188.488 154.38,313.627 256,313.627" data-color="#EBEBEB" data-opacity="0.92"/>
          <polygon opacity="0.92" fill="#fff" class="fill-white" points="256,386.153 255.801,386.206 205.227,372.55 201.994,336.333 177.419,336.333 156.409,336.333 162.771,407.634 255.791,433.457 256,433.399" data-color="#ebebeb" data-opacity="0.92"/>
          <path opacity="1" fill="currentColor" d="M108.382,0h23.077v22.8h21.11V0h23.078v69.044H152.57v-23.12h-21.11v23.12h-23.077V0z" data-color="#000" data-opacity="1"/>
          <path opacity="1" fill="currentColor" d="M205.994,22.896h-20.316V0h63.72v22.896h-20.325v46.148h-23.078V22.896z" data-color="#000" data-opacity="1"/>
          <path opacity="1" fill="currentColor" d="M259.511,0h24.063l14.802,24.26L313.163,0h24.072v69.044h-22.982V34.822l-15.877,24.549h-0.397l-15.888-24.549v34.222h-22.58V0z" data-color="#000" data-opacity="1"/>
          <path opacity="1" fill="currentColor" d="M348.72,0h23.084v46.222h32.453v22.822H348.72V0z" data-color="#000" data-opacity="1"/>
          <polygon fill="#fff" class="fill-white" points="255.843,268.217 255.843,313.627 311.761,313.627 306.49,372.521 255.843,386.191 255.843,433.435 348.937,407.634 349.62,399.962 360.291,280.411 361.399,268.217 349.162,268.217" data-color="#fff" data-opacity="1"/>
          <polygon fill="#fff" class="fill-white" points="255.843,176.305 255.843,204.509 255.843,221.605 255.843,221.716 365.385,221.716 365.385,221.716 365.531,221.716 366.442,211.509 368.511,188.488 369.597,176.305" data-color="#fff" data-opacity="1"/>
        </svg>
      </div>

      <div class="wrapper-logo_inner wrapper-logo_inner-RaspberryPi w-1v3"> 
        <div class="rel">
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 570 720" class="svg-monochrome">
            <path opacity="1" fill="currentColor" d="m158.38,1.6562c-3.6193,0.11232-7.5172,1.4493-11.938,4.9375-10.83-4.1763-21.33-5.6271-30.72,2.8751-14.5-1.8808-19.212,2.0002-22.782,6.5312-3.183-0.066-23.819-3.272-33.282,10.844-23.781-2.814-31.297,13.988-22.781,29.656-4.8569,7.519-9.8895,14.947,1.4688,29.281-4.018,7.9835-1.5274,16.644,7.9375,27.125-2.4979,11.223,2.4121,19.141,11.219,25.312-1.6471,15.358,14.084,24.287,18.781,27.469,1.8037,8.9487,5.5629,17.393,23.531,22.062,2.9632,13.336,13.762,15.639,24.219,18.438-34.562,20.09-64.201,46.523-64,111.38l-5.0625,9.0312c-39.63,24.1-75.285,101.56-19.53,164.52,3.6419,19.708,9.7496,33.864,15.188,49.531,8.1338,63.131,61.218,92.692,75.219,96.188,20.517,15.628,42.368,30.457,71.938,40.844,27.875,28.749,58.074,39.706,88.438,39.688,0.44515-0.00028,0.89853,0.005,1.3438,0,30.364,0.0189,60.562-10.938,88.438-39.688,29.569-10.387,51.421-25.216,71.938-40.844,14.001-3.4959,67.085-33.057,75.219-96.188,5.4379-15.667,11.546-29.823,15.188-49.531,55.754-62.965,20.1-140.43-19.531-164.53l-5.07-9.03c0.20067-64.852-29.438-91.285-64-111.38,10.457-2.7984,21.256-5.1014,24.219-18.438,17.968-4.6698,21.728-13.114,23.531-22.062,4.6978-3.1813,20.428-12.111,18.781-27.469,8.8067-6.1716,13.717-14.09,11.219-25.312,9.4649-10.481,11.956-19.141,7.9375-27.125,11.36-14.328,6.32-21.756,1.47-29.275,8.51-15.668,1-32.47-22.79-29.656-9.46-14.116-30.09-10.91-33.28-10.844-3.57-4.531-8.28-8.412-22.78-6.5312-9.39-8.5022-19.89-7.0514-30.72-2.875-12.86-10.148-21.37-2.0133-31.09,1.0624-15.57-5.0877-19.13,1.881-26.78,4.7188-16.98-3.5881-22.14,4.224-30.28,12.469l-9.4688-0.1875c-25.611,15.093-38.334,45.826-42.844,61.625-4.5121-15.802-17.206-46.535-42.812-61.625l-9.4688,0.1875c-8.15-8.245-13.31-16.057-30.29-12.469-7.65-2.8378-11.2-9.8065-26.78-4.7188-6.3797-2.0185-12.247-6.2144-19.156-6z" data-color="#000" data-opacity="1"/>
            <path opacity="0.42" fill="#fff" class="fill-white" d="m107.39,68.056c67.948,35.031,107.45,63.369,129.09,87.504-11.082,44.418-68.896,46.445-90.036,45.199,4.3284-2.0147,7.9399-4.4278,9.2205-8.1357-5.3045-3.7698-24.113-0.39719-37.244-7.7742,5.0441-1.045,7.4035-2.063,9.7629-5.7854-12.406-3.9567-25.769-7.3664-33.628-13.921,4.2413,0.0524,8.2012,0.9488,13.74-2.8927-11.112-5.9882-22.969-10.734-32.181-19.887,5.7452-0.14063,11.939-0.0568,13.74-2.1695-10.17-6.3007-18.751-13.308-25.854-20.972,8.04,0.97052,11.435,0.13478,13.379-1.2656-7.6878-7.8742-17.418-14.523-22.057-24.226,5.9696,2.0575,11.431,2.8451,15.368-0.1808-2.6124-5.8935-13.805-9.3696-20.249-23.142,6.2844,0.60938,12.95,1.3711,14.283,0-2.917-11.884-7.922-18.565-12.831-25.487,13.45-0.2,33.828,0.052,32.905-1.085l-8.3165-8.4973c13.138-3.5372,26.581,0.56816,36.34,3.6159,4.3819-3.4577-0.0776-7.83-5.4238-12.294,11.165,1.4906,21.254,4.0574,30.373,7.5934,4.8724-4.3993-3.1639-8.7987-7.051-13.198,17.249,3.2726,24.557,7.8707,31.82,12.475,5.2694-5.0508,0.30166-9.3433-3.2543-13.74,13.006,4.817,19.705,11.036,26.758,17.175,2.3912-3.2271,6.0749-5.5924,1.6272-13.379,9.2342,5.3227,16.189,11.595,21.334,18.622,5.7134-3.6379,3.4039-8.613,3.4351-13.198,9.5966,7.8065,15.687,16.114,23.142,24.226,1.5017-1.0934,2.8166-4.8017,3.9775-10.667,22.895,22.212,55.246,78.158,8.3165,100.34-39.94-32.94-87.64-56.883-140.5-74.844z" data-color="#75a928" data-opacity="0.42"/>
            <path opacity="0.42" fill="#fff" class="fill-white" d="M467.92,68.056c-67.94,35.034-107.44,63.364-129.08,87.504,11.082,44.418,68.896,46.445,90.036,45.199-4.3284-2.0147-7.9399-4.4278-9.2205-8.1357,5.3045-3.7698,24.113-0.39719,37.244-7.7742-5.0441-1.045-7.4035-2.063-9.7629-5.7854,12.406-3.9567,25.769-7.3664,33.628-13.921-4.2413,0.0524-8.2012,0.9488-13.74-2.8927,11.112-5.9882,22.969-10.734,32.181-19.887-5.7452-0.14063-11.939-0.0568-13.74-2.1695,10.17-6.3007,18.751-13.308,25.854-20.972-8.04,0.97052-11.435,0.13478-13.379-1.2656,7.6878-7.8742,17.418-14.523,22.057-24.226-5.9696,2.0575-11.431,2.8451-15.368-0.1808,2.6124-5.8935,13.805-9.3696,20.249-23.142-6.2844,0.60938-12.95,1.3711-14.283,0,2.9223-11.889,7.9275-18.57,12.836-25.492-13.45-0.19973-33.828,0.05235-32.905-1.0848l8.3165-8.4973c-13.138-3.5372-26.581,0.56816-36.34,3.6159-4.3819-3.4577,0.0776-7.83,5.4238-12.294-11.165,1.4906-21.254,4.0574-30.373,7.5934-4.8724-4.3993,3.1639-8.7987,7.051-13.198-17.249,3.2726-24.557,7.8707-31.82,12.475-5.2694-5.0508-0.30166-9.3433,3.2543-13.74-13.006,4.817-19.705,11.036-26.758,17.175-2.3912-3.2271-6.0749-5.5924-1.6272-13.379-9.2342,5.3227-16.189,11.595-21.334,18.622-5.7134-3.6379-3.4039-8.613-3.4351-13.198-9.5966,7.8065-15.687,16.114-23.142,24.226-1.5017-1.0934-2.8166-4.8017-3.9775-10.667-22.895,22.212-55.246,78.158-8.3165,100.34,39.919-32.947,87.616-56.888,140.48-74.849z" data-color="#75a928" data-opacity="0.42"/>
            <path opacity="0.23" fill="#fff" class="fill-white" d="m365.2,521.85a71.956,66.532,0,1,1,-143.91,0,71.956,66.532,0,1,1,143.91,0z" transform="matrix(1.131107,0,0,1.1280497,-43.139135,-68.310983)" data-color="#bc1142" data-opacity="0.23"/>
            <path opacity="0.23" fill="#fff" class="fill-white" d="m262.84,276.65a61.875,28.125,0,1,1,-123.75,0,61.875,28.125,0,1,1,123.75,0z" transform="matrix(0.76741684,-1.1613112,2.171115,1.4224368,-560.88858,217.68859)" data-color="#bc1142" data-opacity="0.23"/>
            <path opacity="0.23" fill="#fff" class="fill-white" d="m262.84,276.65a61.875,28.125,0,1,1,-123.75,0,61.875,28.125,0,1,1,123.75,0z" transform="matrix(-0.76741684,-1.1613112,-2.171115,1.4224368,1134.8288,213.68859)" data-color="#bc1142" data-opacity="0.23"/>
            <path opacity="0.23" fill="#fff" class="fill-white" d="M72.91,342.09c36.41-9.76,12.292,150.63-17.333,137.47-32.587-26.21-43.083-102.97,17.333-137.47z" data-color="#bc1142" data-opacity="0.23"/>
            <path opacity="0.23" fill="#fff" class="fill-white" d="m493.68,340.09c-36.414-9.7569-12.292,150.64,17.333,137.48,32.587-26.213,43.083-102.98-17.333-137.48z" data-color="#bc1142" data-opacity="0.23"/>
            <path opacity="0.23" fill="#fff" class="fill-white" d="m369.97,220.65c62.835-10.61,115.12,26.722,113.01,94.858-2.0669,26.121-136.16-90.969-113.01-94.858z" data-color="#bc1142" data-opacity="0.23"/>
            <path opacity="0.23" fill="#fff" class="fill-white" d="M196.36,218.65c-62.84-10.61-115.12,26.73-113.01,94.86,2.067,26.12,136.16-90.97,113.01-94.86z" data-color="#bc1142" data-opacity="0.23"/>
            <path opacity="0.23" fill="#fff" class="fill-white" d="m286.62,202.76c-37.503-0.97548-73.495,27.834-73.582,44.544-0.10462,20.304,29.651,41.093,73.837,41.62,45.123,0.32321,73.916-16.64,74.061-37.594,0.16484-23.74-41.039-48.937-74.317-48.571z" data-color="#bc1142" data-opacity="0.23"/>
            <path opacity="0.23" fill="#fff" class="fill-white" d="m288.91,619.12c32.697-1.4271,76.571,10.532,76.657,26.396,0.5427,15.405-39.79,50.211-78.826,49.538-40.427,1.7439-80.069-33.116-79.55-45.199-0.60506-17.716,49.226-31.548,81.719-30.735z" data-color="#bc1142" data-opacity="0.23"/>
            <path opacity="0.23" fill="#fff" class="fill-white" d="m168.14,525.1c23.279,28.046,33.891,77.319,14.464,91.844-18.379,11.088-63.012,6.5216-94.736-39.052-21.395-38.242-18.638-77.157-3.6159-88.589,22.464-13.684,57.173,4.799,83.889,35.797z" data-color="#bc1142" data-opacity="0.23"/>
            <path opacity="0.23" fill="#fff" class="fill-white" d="m405.02,516.21c-25.187,29.502-39.212,83.31-20.838,100.64,17.568,13.464,64.729,11.582,99.566-36.756,25.296-32.465,16.82-86.682,2.3708-101.08-21.464-16.602-52.277,4.6449-81.099,37.188z" data-color="#bc1142" data-opacity="0.23"/>
          </svg>
        </div>
      </div>
    </div>
  </div>
  </main>
</div>

<footer class="site-footer">
  <small class="colophon">Made by <a href="http://atelierbramdehaan.nl/">Bram de Haan</a> on <a href="https://codepen.io/atelierbram/pen/xVXWW">Codepen</a></small>
</footer> 
            
          
!
            
              $currentcolor: hsl(190, 100%, 10%); 

html,
body {
  background: #fff;
}

body {
  color: $currentcolor;
} 

.site-header {
  height: 112px;
  overflow: auto;
  padding: 1em 0;
}

header a,
footer a {
  color: #fff;
} 

main {
  padding-left: 2em;
}

header,
footer {
  text-align: center;
  background-color: adjust-color($currentcolor, $saturation: -60%, $lightness: 20%);
  color: #adf1ff;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border: none;
  overflow: auto;
} 

button {
  margin: 1rem;
    @media(min-width: 1040px) {
    margin-top: 0;
    margin-bottom: 0;
  }
}

pre {
  margin: 0;
}

.site-footer {
  height: 40px;
  padding-top: .4em;
}

.page-wrap {
  min-height: calc(100vh - 152px);
  padding: 2em 2em 3em;
}

// helpers
.screen-reader-text {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
 
.w-1v3 {
  width: 31.33333%;
  max-width: 192px;
  min-height: 192px;
}
 
.wrapper-logo {
  overflow: auto;
}

.wrapper-logo_inner {
  padding: 2em 1%;
  display: inline-block;
}

.clearfix {
  overflow: auto;
}

.mtl {
  margin-top: 3em;
}

.rel {
  position: relative;
}

.rel svg {
  position: absolute;
  top:0;right:0;bottom:0;left:0;
}

.wrapper-logo_inner-RaspberryPi .rel {
  height: 0;
  padding-bottom: 100%;
}

.has-reset .fill-white {
  fill: white;
}

.defs-only {
  position: absolute;
  height: 0;
  width: 0;
  overflow: none;
  left: -100%;
}

.example {
  padding: 1em 2em;
  color: #fff;
}

@media (min-width: 1040px) {
  .unit {
    float: left;
  } 
  .w-3v10 {
    width: 30%;
  } 
  .w-7v10 {
    width: 70%;
  } 
}         
            
          
!
            
              function toggleEl() {

  var logos = document.getElementById('logoMonochrome');
  var path = document.querySelector('path');


  var toggleBtn1 = document.createElement('button');
  toggleBtn1.innerHTML='reset to monochrome';
  toggleBtn1.setAttribute('class', 'button');

  var toggleBtn2 = document.createElement('button');
  toggleBtn2.innerHTML='show original colors';
  toggleBtn2.setAttribute('class', 'button');

  logos.insertBefore(toggleBtn1, logos.firstChild);
  logos.insertBefore(toggleBtn2, logos.firstChild);

// https://www.jamestease.co.uk/blether/add-remove-or-toggle-classes-using-vanilla-javascript
// First we detect the click event
  toggleBtn2.addEventListener('click', function () {
    // querySelectorAll returns all the nodes it finds with the selector
    // however, you can't iterate over querySelectorAll results (!!)
    // so this is a workaround - call Array.map and pass in the
    // list of nodes along with a function
    // technically querySelectorAll returns a NodeList not an Array so
    /// doesn't have standard array functions
    [].map.call(document.querySelectorAll('#logoMonochrome [data-opacity]'), function(el) {

      // classList is the key here - contains functions to manipulate
      // classes on an element
      // el.classList.toggle('hidden');
      // data = el.dataset;
      // el.style.color= 'data.color';
      //
      var color = el.getAttribute("data-color");
      el.setAttribute("fill", color);
      el.setAttribute("opacity", 1);
      logos.classList.remove('has-reset');
    });
  });

  toggleBtn1.addEventListener('click', function () {
    [].map.call(document.querySelectorAll('#logoMonochrome [data-opacity]'), function(el) {
      var opacity = el.getAttribute("data-opacity");
      el.setAttribute("fill", "currentColor");
      el.setAttribute("opacity", opacity);
      logos.classList.add('has-reset');
    });
  });

}
toggleEl();

// HSLA Color Converter by Estelle Weyl
// http://www.standardista.com/hsla-color-picker/
// https://github.com/estelle/HSLA-Color-Converter 
var browserPrefix = getPrefix();		
function getPrefix() {
var myJS = document.getElementsByTagName('script')[0];
if('WebkitOpacity' in myJS.style) return 'webkit';
var regex = /^(Moz|Ms|O)(?=[A-Z])/;
for(var property in myJS.style) {
if(regex.test(property)) {
return property.match(regex)[0];
}
} 
return '';
}	

function createHSLA(h, s, l, a){
        var h = h || document.getElementById('hsl-h').value * 1.0;
        var s = s || document.getElementById('hsl-s').value * 1.0;
        var l = l || document.getElementById('hsl-l').value * 1.0;
        var a = a ||document.getElementById('hsl-a').value * 1.0;

var hslapicker = "";
for(var i=0; i <=360; i++){
  hslapicker+= '<i style="background: hsla(' + i + ', ' + s + '%, ' + l + '%, ' + a +')"></i>';
  }

}
function changeHSL() {
  var h = document.getElementById('hsl-h').value * 1.0;
  var s = document.getElementById('hsl-s').value * 1.0;
  var l = document.getElementById('hsl-l').value * 1.0;
  var a = document.getElementById('hsl-a').value * 1.0;
var hex = '';

a = ((a < 1 && a > 0) ? a : a / 100).toFixed(2);
        // var el = document.getElementById('hsl-example');
    var el = document.querySelector('.bg-current-color');

if(a == 1){
var hsla = 'hsl(' + h + ', ' + s + '%, ' + l + '%)'
} else {
var hsla = 'hsla(' + h + ', ' + s + '%, ' + l + '%, ' + a + ')'	
}
        el.style.backgroundColor = hsla;
        document.body.style.color = hsla;
var rgba = el.style.backgroundColor;
if(a == 1){ 
   hex = '<br/>' + colorToHex(rgba);
}
el.innerHTML = hsla + " <br/>" + rgba + hex;

        document.getElementById('hsl-h-value').textContent = (h < 100)? h + ', ': h + ',';
        document.getElementById('hsl-s-value').textContent = (s < 100)? s + '%, ': s + '%,';
        document.getElementById('hsl-l-value').textContent = (l < 100)? l + '%, ': l + '%,';
        document.getElementById('hsl-a-value').textContent = a + '';
createHSLA(h, s, l, a);
      }

function colorToHex(color) {
var digits = /(.*?)rgb\((\d+), (\d+), (\d+)\)/.exec(color);

var red = parseInt(digits[2]);
var green = parseInt(digits[3]);
var blue = parseInt(digits[4]);

var rgb = blue | (green << 8) | (red << 16);
return digits[1] + '#' + rgb.toString(16); 

// https://raw.github.com/rohn/HSLA-Color-Converter/2958291dd89417040e15d039662d9b83ca8d4228/hsla.html

var hex = rgb.toString(16);
while (hex.length < 6) {
    hex = "0" + hex;
}

return digits[1] + '#' + hex;
};

      changeHSL();
createHSLA(); 
            
          
!
999px
Loading ..................

Console