diff --git a/color/color.inc b/color/color.inc
index 1941065..b5513b7 100644
--- a/color/color.inc
+++ b/color/color.inc
@@ -1,10 +1,12 @@
 <?php
 
+use Drupal\Component\Utility\DeprecationHelper;
+use Drupal\Core\Extension\ThemeSettingsProvider;
+
 /**
  * @file
  * Lists available colors and color schemes for the Bootstrap theme.
  */
-
 $info = [
   // Available colors and color labels used in theme.
   'fields' => [
@@ -123,7 +125,7 @@ $info = [
     'drupalSettings' => [
       'color' => [
         // Put the logo path into JavaScript for the live preview.
-        'logo' => theme_get_setting('logo.url', 'bootstrap_drupal_cms'),
+        'logo' => DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '11.3.0', fn() => \Drupal::service(ThemeSettingsProvider::class)->getSetting('logo.url', 'bootstrap_drupal_cms'), fn() => theme_get_setting('logo.url', 'bootstrap_drupal_cms')),
       ],
     ],
   ],
