Firefox рисует мою картинку темнее оригинала - PullRequest
0 голосов
/ 28 июня 2018

У меня есть следующий CSS для моего заголовка:

html, body {
    margin: 0px;
    width: 100%;
    height: 100%;
}

.fullwidth {
    width: 100%;
}

.fullheight {
    height: 100%;
}

.navbar {
    width: 100%;
    height: 84px;
    background: #4F46C8 url("../img/logo.png") no-repeat;
}

.sidebar-container {
    float: left;
    width: 250px;
}

.sidebar {
    color: white;
    background-color: #0091a8;
    width: 100%;
    height: 100%;
    position: relative;
    overflow-y: scroll;
    padding: 20px 16px 16px 16px;
}

.sidebar ul {
    list-style: none;
}

.sidebar li::before {
    content: "- ";
}

.content {
    width: auto;
    margin-left: 280px;
}

.content iframe {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    border: none;
}

.page {
    padding: 20px 16px 16px 16px;
}

.page h2 {
    color: #0091a8;
}

.row {
    width: 100%;
    height: 100%;
    clear: both;
    box-sizing: border-box;
}

.sidebar a {
    color: white;
}

.text-centered {
    text-align: center;
}

Цвет #2874c2 - это цвет изображения, сделанного в Gimp 2. И в средстве просмотра изображений изображение выглядит светлее, чем в браузере. Я проверил цвет в браузере, это #4F46C8.
Мой HTML:

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>FSS</title>
        <link rel="stylesheet" type="text/css" href="css/style.css">
        <script type="application/javascript" src="js/app.js" async></script>
    </head>
    <body>
        <div class="navbar">

        </div>
    </body>
</html>

Что может быть не так?
P.S. Изображение не прозрачное.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...